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/login/totp-verify.pug

25 lines
733 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}
2022-08-27 08:59:26 +00:00
form(method="post", autocomplete="off")
2022-03-09 21:10:08 +00:00
div.form-container
2022-03-20 14:50:12 +00:00
input#csrf(type="hidden", name="_csrf", value=csrf)
2022-03-09 21:10:08 +00:00
label.form-label(for="totp") Code
2022-08-27 08:59:26 +00:00
input.form-control#totp(type="text", autocomplete="off", name="totp", autofocus, placeholder="xxxxxx")
2022-03-09 21:10:08 +00:00
button.btn.btn-primary(type="submit") Log in