Mercurial > public > sg101
comparison gpp/templates/accounts/password_reset_confirm.html @ 194:6a5549c2efb5
Implement #62, add support for CSRF protection.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 03 Apr 2010 20:00:56 +0000 |
parents | 4b90d00cc4eb |
children | daa2916f5b34 |
comparison
equal
deleted
inserted
replaced
193:fa7d82bfb100 | 194:6a5549c2efb5 |
---|---|
4 <h2>Reset Password</h2> | 4 <h2>Reset Password</h2> |
5 {% if validlink %} | 5 {% if validlink %} |
6 <p> | 6 <p> |
7 Please use the following form to reset your password. | 7 Please use the following form to reset your password. |
8 </p> | 8 </p> |
9 <form method="post" action="."> | 9 <form method="post" action=".">{% csrf_token %} |
10 <table> | 10 <table> |
11 {{ form.as_table }} | 11 {{ form.as_table }} |
12 <tr><td> </td><td><input type="submit" value="Reset Password" /> | 12 <tr><td> </td><td><input type="submit" value="Reset Password" /> |
13 </td></tr> | 13 </td></tr> |
14 </table> | 14 </table> |