Mercurial > public > sg101
diff 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 |
line wrap: on
line diff
--- a/gpp/templates/accounts/password_reset.html Sat Apr 03 02:15:04 2010 +0000 +++ b/gpp/templates/accounts/password_reset.html Sat Apr 03 20:00:56 2010 +0000 @@ -5,7 +5,7 @@ <p>Forgot your password? No problem. Just enter your email address and we will email you instructions on how to reset it. </p> -<form method="post" action="."> +<form method="post" action=".">{% csrf_token %} <table> {{ form.as_table }} <tr><td> </td><td><input type="submit" value="Reset Password" />