indentantion

This commit is contained in:
mdipierro committed 2012-08-08 13:16:24 -05:00
1 parent 6c2d0692f6
commit 2b8c218146
2 files changed
+6 -5

No files matched your search

+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