mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
add 32px border around TOTP QR, fixes #71
This commit is contained in:
parent
04ec46bc5b
commit
3579429ac1
1 changed files with 5 additions and 2 deletions
|
@ -110,7 +110,10 @@ h1 Two Factor Authentication
|
|||
strong
|
||||
= @totp_secret
|
||||
p
|
||||
img src=@totp_qrcode alt="QR Code"
|
||||
svg xmlns="http://www.w3.org/2000/svg" width="392" height="392"
|
||||
rect fill="#fff" width="392" height="392"
|
||||
image xlink:href=@totp_qrcode alt="QR Code" x="32" y="32"
|
||||
|
||||
h4 Confirm pairing
|
||||
p Enter the code generated by your authenticator app into the field below for verification.
|
||||
= text_input f, :twofactor_token, class: "input", placeholder: "6-digit code", autocomplete: "off"
|
||||
|
|
Loading…
Reference in a new issue