From 645c3b10ddcee94629a53345e3c9c67a26d634fb Mon Sep 17 00:00:00 2001 From: mdipierro Date: Tue, 3 Dec 2013 00:41:51 -0600 Subject: [PATCH] fixed issue 1783 again, thanks Dean Kleissas --- VERSION | 2 +- gluon/tools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index cd5f07a1..3771e4c1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.8.2-stable+timestamp.2013.12.02.10.26.58 +Version 2.8.2-stable+timestamp.2013.12.03.00.40.46 diff --git a/gluon/tools.py b/gluon/tools.py index 874ad220..afb258f8 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -2915,7 +2915,7 @@ class Auth(object): formname='reset_password', dbio=False, onvalidation=onvalidation, hideerror=self.settings.hideerror): - user = table_user(**{userfield:form.vars.email}) + user = table_user(**{userfield:form.vars.get(userlfield)}) if not user: session.flash = self.messages['invalid_%s' % userfield] redirect(self.url(args=request.args),