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

23 lines
619 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
.wrapper
.boxcont
.box#totpcheck
h1 Enter Code
small.descr This user has Two Factor Authentication enabled. Enter the code to log in.
2017-08-24 20:02:52 +00:00
if message.text
2017-08-02 22:35:10 +00:00
if message.error
.message.error
2017-08-24 20:02:52 +00:00
span #{message.text}
2017-08-02 22:35:10 +00:00
else
.message
2017-08-24 20:02:52 +00:00
span #{message.text}
2017-08-02 22:35:10 +00:00
form#loginForm(method="POST", action="")
input(type="hidden", name="csrf", value=csrf)
label(for="code") Code
input(type="text", name="code", id="code", autocomplete="off")
2017-08-02 22:35:10 +00:00
input(type="submit", value="Log in")