[Pypi-checkins] r961 - trunk/pypi

richard python-checkins at python.org
Tue Aug 23 08:53:16 CEST 2011


Author: richard
Date: Tue Aug 23 08:53:16 2011
New Revision: 961

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:53:16 2011
@@ -947,8 +947,6 @@
             if not (self.store.has_role('Admin', package_name) or
                     self.store.has_role('Owner', package_name)):
                 raise Unauthorised
-            if self.form['CSRFToken'] != self.store.get_token(self.username):
-                raise FormError, "Form Failure; reset form submission"
             package = '''
 <tr><th>Package Name:</th>
     <td><input type="text" readonly name="package_name" value="%s"></td>


More information about the Pypi-checkins mailing list