[Pypi-checkins] r962 - trunk/pypi

richard python-checkins at python.org
Tue Aug 23 08:54:56 CEST 2011


Author: richard
Date: Tue Aug 23 08:54:56 2011
New Revision: 962

Modified:
   trunk/pypi/webui.py
Log:
not a form submission

Modified: trunk/pypi/webui.py
==============================================================================
--- trunk/pypi/webui.py	(original)
+++ trunk/pypi/webui.py	Tue Aug 23 08:54:56 2011
@@ -533,8 +533,6 @@
         if action in ('submit', ):
             if not self.authenticated:
                 raise Unauthorised
-            if self.form['CSRFToken'] != self.store.get_token(self.username):
-                raise FormError, "Form Failure; reset form submission"
             if self.store.get_otk(self.username):
                 raise Unauthorised, "Incomplete registration; check your email"
 


More information about the Pypi-checkins mailing list