changeset 5387:63f2d05c7c20

openid: fix logging in with openid and associating with an existing account
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Wed, 16 Dec 2009 09:58:56 +0100
parents 581cdc260b90
children cd96baeeec9b
files MoinMoin/action/login.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/login.py	Wed Dec 16 09:20:02 2009 +0100
+++ b/MoinMoin/action/login.py	Wed Dec 16 09:58:56 2009 +0100
@@ -34,7 +34,8 @@
         _ = self._
         request = self.request
         form = html.FORM(method='POST', name='logincontinue', action=self.pagename)
-        form.append(html.INPUT(type='hidden', name='login', value='login'))
+        form.append(html.INPUT(type='hidden', name='action', value='login'))
+        form.append(html.INPUT(type='hidden', name='login', value='1'))
         form.append(html.INPUT(type='hidden', name='stage',
                                value=request._login_multistage_name))