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

28 lines
780 B
Plaintext

extends ../partials/layout.pug
block title
|Icy Network | Two-factor authentication
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")
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