This repository has been archived on 2024-06-14. You can view files and clone it, but cannot push or open issues or pull requests.
icynet-auth-server/views/two-factor/activate.pug
2022-03-20 16:50:12 +02:00

28 lines
800 B
Plaintext

extends ../partials/layout.pug
block title
|Two-factor authentication | Icy Network
block body
include ../partials/logo.pug
div.container
div.center-box
h1 Activate two-factor authentication
if message.text
if message.error
.alert.alert-danger
span #{message.text}
else
.alert.alert-success
span #{message.text}
div.qr-preview
img(src=qrcode)
form(method="post",autocomplete="off")
div.form-container
input#csrf(type="hidden", name="_csrf", value=csrf)
label.form-label(for="code") Code from authenticator app
input.form-control#code(type="text", name="code", autofocus, placeholder="xxxxxx")
button.btn.btn-primary(type="submit") Activate