mirror of https://gitgud.io/fatchan/jschan.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.2 KiB
32 lines
1.2 KiB
extends ../layout.pug
|
|
|
|
block head
|
|
title Change Password
|
|
|
|
block content
|
|
section.form-wrapper.flex-center.mv-10
|
|
form.form-post(action='/forms/changepassword' method='POST')
|
|
//input(type='hidden' name='_csrf' value=csrf)
|
|
section.postform-row
|
|
.postform-label Username
|
|
.required *
|
|
input#username(type='text', name='username', maxlength='50' required)
|
|
section.postform-row
|
|
.postform-label Existing Password
|
|
.required *
|
|
input#password(type='password', name='password', maxlength='100' required)
|
|
section.postform-row
|
|
.postform-label New Password
|
|
.required *
|
|
input#password(type='password', name='newpassword', maxlength='100' required)
|
|
section.postform-row
|
|
.postform-label Confirm New Password
|
|
.required *
|
|
input#password(type='password', name='newpasswordconfirm', maxlength='100' required)
|
|
section.postform-row
|
|
.postform-label Captcha
|
|
.required *
|
|
span.postform-col
|
|
iframe.captcha(src='/captcha.html' width=200 height=110 scrolling='no')
|
|
input#captcha(type='text', name='captcha', autocomplete='off' placeholder='captcha text' maxlength='6' required)
|
|
input(type='submit', value='Change Password')
|
|
|