File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
{{cookiecutter.project_slug}}/frontend Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import {
15
15
updateUserProfile ,
16
16
} from "../../lib/slices/authSlice"
17
17
import { refreshTokens , token } from "../../lib/slices/tokensSlice"
18
+ import { QRCodeSVG } from 'qrcode.react'
18
19
19
20
const title = "Security"
20
21
const redirectTOTP = "/settings"
@@ -313,7 +314,7 @@ export default function Security() {
313
314
Open the app and scan the QR code below to pair
314
315
your mobile with your account.
315
316
</ p >
316
- { /* <QrcodeVue : value=" totpNew.uri" : size=" qrSize" level="M" render-as="svg" className="my-2 mx-auto"/> */ }
317
+ < QRCodeSVG value = { totpNew . uri } size = { qrSize } level = "M" className = "my-2 mx-auto" />
317
318
< p >
318
319
If you can't scan, you can type in the
319
320
following key:
Original file line number Diff line number Diff line change 31
31
"remark-gfm" : " ^4.0.0" ,
32
32
"remark-html" : " ^16.0.1" ,
33
33
"remark-toc" : " ^9.0.0" ,
34
- "tailwind" : " ^4.0.0"
34
+ "tailwind" : " ^4.0.0" ,
35
+ "qrcode.react" : " ^3.1.0"
35
36
},
36
37
"devDependencies" : {
37
38
"@types/mdx" : " ^2.0.8" ,
You can’t perform that action at this time.
0 commit comments