diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-10-01 21:31:14 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-10-01 21:31:14 -0500 |
commit | 4d7a93a49303344830021bab5a741148b1adb7c3 (patch) | |
tree | f976c18b046e990c879f927f748f92f3845174ce | |
parent | 88233cb282ceacd4c9e8cac419faf952627e7fe2 (diff) | |
download | mediagoblin-4d7a93a49303344830021bab5a741148b1adb7c3.tar.lz mediagoblin-4d7a93a49303344830021bab5a741148b1adb7c3.tar.xz mediagoblin-4d7a93a49303344830021bab5a741148b1adb7c3.zip |
Adding csrf token fields to the forgot password calls
-rw-r--r-- | mediagoblin/templates/mediagoblin/auth/change_fp.html | 2 | ||||
-rw-r--r-- | mediagoblin/templates/mediagoblin/auth/forgot_password.html | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/mediagoblin/templates/mediagoblin/auth/change_fp.html b/mediagoblin/templates/mediagoblin/auth/change_fp.html index 4be7e065..53186cec 100644 --- a/mediagoblin/templates/mediagoblin/auth/change_fp.html +++ b/mediagoblin/templates/mediagoblin/auth/change_fp.html @@ -23,6 +23,8 @@ <form action="{{ request.urlgen('mediagoblin.auth.verify_forgot_password') }}" method="POST" enctype="multipart/form-data"> + {{ csrf_token }} + <div class="grid_6 prefix_1 suffix_1 form_box"> <h1>{% trans %}Enter your new password{% endtrans %}</h1> diff --git a/mediagoblin/templates/mediagoblin/auth/forgot_password.html b/mediagoblin/templates/mediagoblin/auth/forgot_password.html index 23fa9eb5..b95a4dcb 100644 --- a/mediagoblin/templates/mediagoblin/auth/forgot_password.html +++ b/mediagoblin/templates/mediagoblin/auth/forgot_password.html @@ -23,6 +23,8 @@ <form action="{{ request.urlgen('mediagoblin.auth.forgot_password') }}" method="POST" enctype="multipart/form-data"> + {{ csrf_token }} + <div class="grid_6 prefix_1 suffix_1 form_box"> <h1>{% trans %}Enter your username or email{% endtrans %}</h1> |