fix: Update password request URL to include security key

1 parent 054bffa6
...@@ -687,7 +687,7 @@ def send_email_security_code( ...@@ -687,7 +687,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/{}/request'.format( url = '{}/password/{}/request?key={}'.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!