indentantion

This commit is contained in:
mdipierro
2012-08-08 13:16:24 -05:00
parent 2f36ee450c
commit d1da96a46c
2 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.00.0 (2012-08-08 12:40:01) dev
Version 2.00.0 (2012-08-08 13:16:22) dev
+5 -4
View File
@@ -2455,10 +2455,11 @@ class Auth(object):
def email_reset_password(self,user):
reset_password_key = str(int(time.time()))+'-' + web2py_uuid()
if self.settings.mailer.send(to=user.email,
subject=self.messages.reset_password_subject,
message=self.messages.reset_password % \
dict(key=reset_password_key)):
if self.settings.mailer.send(
to=user.email,
subject=self.messages.reset_password_subject,
message=self.messages.reset_password % \
dict(key=reset_password_key)):
user.update_record(reset_password_key=reset_password_key)
return True
return False