[Python-modules-commits] r13350 - in packages/django-openid-auth/trunk/debian (3 files)

fladi-guest at users.alioth.debian.org fladi-guest at users.alioth.debian.org
Wed Jun 9 05:54:42 UTC 2010


    Date: Wednesday, June 9, 2010 @ 05:54:35
  Author: fladi-guest
Revision: 13350

Add a patch to fix the missing csrf_token.

Added:
  packages/django-openid-auth/trunk/debian/patches/
  packages/django-openid-auth/trunk/debian/patches/add_csrf_token_to_login_view
  packages/django-openid-auth/trunk/debian/patches/series

Added: packages/django-openid-auth/trunk/debian/patches/add_csrf_token_to_login_view
===================================================================
--- packages/django-openid-auth/trunk/debian/patches/add_csrf_token_to_login_view	                        (rev 0)
+++ packages/django-openid-auth/trunk/debian/patches/add_csrf_token_to_login_view	2010-06-09 05:54:35 UTC (rev 13350)
@@ -0,0 +1,19 @@
+Description: The login template is missing the csrf_token.
+ This patch adds the missing csrf_token which would otherwise have broken 
+ authentication with the login template shipped with the package.
+Author: Fladischer Michael <FladischerMichael at fladi.at>
+Forwarded: yes
+Last-Update: 2010-06-09
+
+Index: django-openid-auth-0.2/django_openid_auth/templates/openid/login.html
+===================================================================
+--- django-openid-auth-0.2.orig/django_openid_auth/templates/openid/login.html	2010-06-09 07:34:43.079298359 +0200
++++ django-openid-auth-0.2/django_openid_auth/templates/openid/login.html	2010-06-09 07:34:58.134799453 +0200
+@@ -26,6 +26,7 @@
+ </p>
+ {% endif %}
+ <form name="fopenid" action="{{ action }}" method="post">
++    {% csrf_token %}
+ 	<fieldset>
+ 		<legend>{% trans "Sign In Using Your OpenID" %}</legend>
+         <div class="form-row">

Added: packages/django-openid-auth/trunk/debian/patches/series
===================================================================
--- packages/django-openid-auth/trunk/debian/patches/series	                        (rev 0)
+++ packages/django-openid-auth/trunk/debian/patches/series	2010-06-09 05:54:35 UTC (rev 13350)
@@ -0,0 +1 @@
+add_csrf_token_to_login_view




More information about the Python-modules-commits mailing list