1. Miks Kalniņš
  2. moin-2.0-#184fix

Commits

Thomas Waldmann  committed 5e33131

fix password recovery giving the e-mail address

  • Participants
  • Parent commits ac10595
  • Branches default

Comments (0)

Files changed (1)

File MoinMoin/apps/frontend/views.py

View file
             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: