Mercurial > public > sg101
comparison gpp/templates/accounts/password_reset.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 | 4edfea7f8620 |
children | fc2feaa98c58 |
comparison
equal
deleted
inserted
replaced
193:fa7d82bfb100 | 194:6a5549c2efb5 |
---|---|
3 {% block content %} | 3 {% block content %} |
4 <h2>Reset Password</h2> | 4 <h2>Reset Password</h2> |
5 <p>Forgot your password? No problem. Just enter your email address and we will | 5 <p>Forgot your password? No problem. Just enter your email address and we will |
6 email you instructions on how to reset it. | 6 email you instructions on how to reset it. |
7 </p> | 7 </p> |
8 <form method="post" action="."> | 8 <form method="post" action=".">{% csrf_token %} |
9 <table> | 9 <table> |
10 {{ form.as_table }} | 10 {{ form.as_table }} |
11 <tr><td> </td><td><input type="submit" value="Reset Password" /> | 11 <tr><td> </td><td><input type="submit" value="Reset Password" /> |
12 </td></tr> | 12 </td></tr> |
13 </table> | 13 </table> |