This repository has been archived on 2022-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
IcyNet.eu/views/user/totp-check.pug

22 lines
613 B
Plaintext

extends ../layout.pug
block title
|Icy Network - Log In - Verification Required
block body
.container.mt-4.mb-4
h1 Enter Code
p This user has Two Factor Authentication enabled. Enter the code to log in.
if message.text
if message.error
.alert.alert-danger
span #{message.text}
else
.alert.alert-success
span #{message.text}
form#loginForm(method="POST", action="")
input(type="hidden", name="csrf", value=csrf)
.form-group
label(for="code") Code
input.form-control#code(type="text", name="code", autocomplete="off")
button.btn.btn-primary(type="submit") Log in