changeset 5930:aac944a51a54

fix bug in set_password (it did not load the user profile, but safe an empty one)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 21 Jan 2013 17:47:31 +0100
parents 8d03f3ec97a7
children c14974df2b58
files MoinMoin/user.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/user.py	Mon Jan 21 17:26:37 2013 +0100
+++ b/MoinMoin/user.py	Mon Jan 21 17:47:31 2013 +0100
@@ -195,7 +195,7 @@
     if uid:
         u = User(request, uid)
     elif uname:
-        u = User(request, None, uname)
+        u = User(request, auth_username=uname)
     if u and u.exists():
         if not newpass:
             # set a invalid password hash