From 4d7a93a49303344830021bab5a741148b1adb7c3 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sat, 1 Oct 2011 21:31:14 -0500 Subject: [PATCH] Adding csrf token fields to the forgot password calls --- mediagoblin/templates/mediagoblin/auth/change_fp.html | 2 ++ mediagoblin/templates/mediagoblin/auth/forgot_password.html | 2 ++ 2 files changed, 4 insertions(+) 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 @@
+ {{ csrf_token }} +

{% trans %}Enter your new password{% endtrans %}

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 @@ + {{ csrf_token }} +

{% trans %}Enter your username or email{% endtrans %}

-- 2.25.1