icynet-auth-server/views/two-factor/activate.pug

22 lines
502 B
Plaintext

extends ../partials/layout.pug
block title
|Icy Network | Two-factor authentication
block body
h1 Activate two-factor authentication
if message.text
if message.error
.alert.alert-danger
span #{message.text}
else
.alert.alert-success
span #{message.text}
img(src=qrcode)
form(method="post")
input#csrf(type="hidden", name="csrf", value=csrf)
input#code(type="text", name="code", placeholder="Code from app")
button(type="submit") Activate