pyramid mailer

1 parent dd9491b3
...@@ -579,7 +579,7 @@ def send_email_security_code( ...@@ -579,7 +579,7 @@ def send_email_security_code(
if 'mail.sender_name' not in settings or 'mail.username' not in settings: if 'mail.sender_name' not in settings or 'mail.username' not in settings:
return return
url = '{}/password/{}?password={}/request'.format( url = '{}/password/{}/request'.format(
request.home, user.security_code, password) request.home, user.security_code, password)
minutes = int(time_remain.seconds / 60) minutes = int(time_remain.seconds / 60)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!