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

25 lines
692 B
Plaintext
Raw Normal View History

2022-03-09 21:10:08 +00:00
extends ../partials/layout.pug
block title
|Veify two-factor | Icy Network
2022-03-09 21:10:08 +00:00
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")
2022-03-09 21:10:08 +00:00
button.btn.btn-primary(type="submit") Log in