changeset 3254:951eda3e45cd

merged main
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Fri, 14 Mar 2008 15:47:26 +0100
parents ba0707fe183d (current diff) 67cd62f8493f (diff)
children 584d6376c465
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/newaccount.py	Fri Mar 14 15:46:27 2008 +0100
+++ b/MoinMoin/action/newaccount.py	Fri Mar 14 15:47:26 2008 +0100
@@ -44,7 +44,7 @@
         return _("This user name already belongs to somebody else.")
 
     # try to get the password and pw repeat
-    password = form.get('password', [''])[0]
+    password = form.get('password1', [''])[0]
     password2 = form.get('password2', [''])[0]
 
     # Check if password is given and matches with password repeat
@@ -114,7 +114,7 @@
     row.append(html.TD().append(html.STRONG().append(
                                   html.Text(_("Password")))))
     row.append(html.TD().append(html.INPUT(type="password", size="36",
-                                           name="password")))
+                                           name="password1")))
 
     row = html.TR()
     tbl.append(row)