38 lines
985 B
Plaintext
38 lines
985 B
Plaintext
extends ./partials/layout.pug
|
|
|
|
block title
|
|
|Security check | Icy Network
|
|
|
|
block body
|
|
include ./partials/logo.pug
|
|
div.container
|
|
div.center-box
|
|
h1 Please enter your current password
|
|
if message.text
|
|
if message.error
|
|
.alert.alert-danger
|
|
span #{message.text}
|
|
else
|
|
.alert.alert-success
|
|
span #{message.text}
|
|
|
|
form(method="post")
|
|
div.form-container
|
|
input#csrf(type="hidden", name="_csrf", value=csrf)
|
|
input#username(
|
|
type="text",
|
|
name="username",
|
|
value=user.username,
|
|
autocomplete="username",
|
|
style="display: none"
|
|
)
|
|
|
|
label.form-label(for="password") Password
|
|
input.form-control#password(
|
|
type="password",
|
|
name="password",
|
|
autofocus,
|
|
autocomplete="current-password"
|
|
)
|
|
button.btn.btn-primary(type="submit") Submit
|