fixed issue 1634:retrieve password regression, thanks christophe.varoqui
This commit is contained in:
@@ -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
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user