diff MoinMoin/userprefs/oid.py @ 3326:a82b02396941

openid userprefs: ignore non-POST submissions
author Johannes Berg <johannes AT sipsolutions DOT net>
date Wed, 19 Mar 2008 12:14:23 +0100
parents a739558ca3dc
children 7bfd4232cfb7
line wrap: on
line diff
--- a/MoinMoin/userprefs/oid.py	Wed Mar 19 12:06:12 2008 +0100
+++ b/MoinMoin/userprefs/oid.py	Wed Mar 19 12:14:23 2008 +0100
@@ -138,6 +138,9 @@
         if form.has_key('cancel'):
             return
 
+        if self.request.request_method != 'POST':
+            return
+
         if form.has_key('remove'):
             return self._handle_remove()