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
624 B
Plaintext
Raw Normal View History

extends ../layout.pug
2017-08-02 22:35:10 +00:00
block title
|Icy Network - Log In - Verification Required
block body
2018-02-07 17:03:57 +00:00
.container.mt-4.mb-4
2018-01-28 19:15:53 +00:00
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
2020-05-28 18:30:21 +00:00
input.form-control#code(type="text", name="code", autocomplete="off", autofocus)
2018-01-28 19:15:53 +00:00
button.btn.btn-primary(type="submit") Log in