fixed issue 1634:retrieve password regression, thanks christophe.varoqui

This commit is contained in:
mdipierro
2013-08-17 11:31:36 -05:00
parent 030304a6eb
commit 28cfd0a0f2
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.6.0-development+timestamp.2013.08.15.17.14.24
Version 2.6.0-development+timestamp.2013.08.17.11.30.09
+4 -3
View File
@@ -2642,9 +2642,10 @@ class Auth(object):
redirect(self.url(args=request.args))
password = self.random_password()
passfield = self.settings.password_field
d = dict(
passfield=str(table_user[passfield].validate(password)[0]),
registration_key='')
d = {
passfield: str(table_user[passfield].validate(password)[0]),
'registration_key': ''
}
user.update_record(**d)
if self.settings.mailer and \
self.settings.mailer.send(to=form.vars.email,