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

20 lines
456 B
Plaintext

extends partials/layout.pug
block title
|Icy Network | Veify two-factor
block body
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")
input#csrf(type="hidden", name="csrf", value=csrf)
input#totp(type="text", name="totp", placeholder="Code")
button(type="submit") Log in