feat(org): Further work on account pages
This commit is contained in:
parent
c0571d54f0
commit
79434846b6
18 changed files with 822 additions and 80 deletions
|
@ -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 }
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue