extends ../layout.pug
block title
|Icy Network - Log In - Verification Required
block body
.container
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
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