1
0
Fork 0

feat(org): Further work on account pages

This commit is contained in:
joostdecock 2023-02-19 20:49:15 +01:00
parent c0571d54f0
commit 79434846b6
18 changed files with 822 additions and 80 deletions

View file

@ -21,7 +21,10 @@ export const mfa = ({ service }) => ({
} catch (err) {
console.log(err)
}
svg = svg.replace(dark, 'currentColor').replace(light, 'none')
svg = svg
.replace(dark, 'currentColor')
.replace(light, 'none')
.replace('<svg ', '<svg class="qrcode" width="100%" height="100%" ')
return { secret, otpauth, qrcode: svg }
},