* use sha512 passwords
* more robust SQLAlchemy session handling code * implemented password change mechanism
This commit is contained in:
parent
ade660419c
commit
949e699e25
7 changed files with 99 additions and 28 deletions
12
gnuviechadminweb/templates/chpassword.mako
Normal file
12
gnuviechadminweb/templates/chpassword.mako
Normal file
|
@ -0,0 +1,12 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
<%inherit file="site.mako" />
|
||||
<h1>Change your password</h1>
|
||||
${h.form(h.url(action='updatepassword'), method='post')}
|
||||
Old password: ${h.password_field('oldpassword')}
|
||||
New password: ${h.password_field('password')}
|
||||
Confirm new password: ${h.password_field('confirm')}
|
||||
${h.submit('Change password')}
|
||||
${h.end_form()}
|
||||
<%def name="headlines()">
|
||||
<title>Change your password</title>
|
||||
</%def>
|
Loading…
Add table
Add a link
Reference in a new issue