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 {
1515 updateUserProfile ,
1616} from "../../lib/slices/authSlice"
1717import { refreshTokens , token } from "../../lib/slices/tokensSlice"
18+ import { QRCodeSVG } from 'qrcode.react'
1819
1920const title = "Security"
2021const redirectTOTP = "/settings"
@@ -313,7 +314,7 @@ export default function Security() {
313314 Open the app and scan the QR code below to pair
314315 your mobile with your account.
315316 </ 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" />
317318 < p >
318319 If you can't scan, you can type in the
319320 following key:
Original file line number Diff line number Diff line change 3131 "remark-gfm" : " ^4.0.0" ,
3232 "remark-html" : " ^16.0.1" ,
3333 "remark-toc" : " ^9.0.0" ,
34- "tailwind" : " ^4.0.0"
34+ "tailwind" : " ^4.0.0" ,
35+ "qrcode.react" : " ^3.1.0"
3536 },
3637 "devDependencies" : {
3738 "@types/mdx" : " ^2.0.8" ,
You can’t perform that action at this time.
0 commit comments