icynet-auth-server/views/login/totp-verify.pug

25 lines
692 B
Plaintext

extends ../partials/layout.pug
block title
|Veify two-factor | Icy Network
block body
include ../partials/logo.pug
div.container
div.center-box
h1 Verify two-factor authentication
if message.text
if message.error
.alert.alert-danger
span #{message.text}
else
.alert.alert-success
span #{message.text}
form(method="post")
div.form-container
input#csrf(type="hidden", name="csrf", value=csrf)
label.form-label(for="totp") Code
input.form-control#totp(type="text", name="totp", autofocus, placeholder="xxxxxx")
button.btn.btn-primary(type="submit") Log in