changeset 1410:5e33131770bc

fix password recovery giving the e-mail address
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 07 Jul 2012 18:31:04 +0200
parents ac1059572d80
children 2e939e798a47
files MoinMoin/apps/frontend/views.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/apps/frontend/views.py	Fri Jun 29 16:04:11 2012 +0200
+++ b/MoinMoin/apps/frontend/views.py	Sat Jul 07 18:31:04 2012 +0200
@@ -1156,7 +1156,7 @@
             email = form['email'].value
             if form['email'].valid and email:
                 users = user.search_users(email=email)
-                u = users and user.User(users[0][ITEMID])
+                u = users and user.User(users[0].meta[ITEMID])
             if u and u.valid:
                 is_ok, msg = u.mail_password_recovery()
                 if not is_ok: