Commit cb2393ec authored by Linus Lewandowski's avatar Linus Lewandowski

Add #reset to the password reset link.

parent f06b9e2b
Pipeline #11256430 passed with stages
in 5 minutes 41 seconds
......@@ -9,7 +9,7 @@ from ..token import auth_token
def password_reset_link(site, email, user):
token = auth_token(email)
return 'https://' + site.domain + reverse('extauth:login-by-email', args=[token]) + '?' + urlencode({
REDIRECT_FIELD_NAME: reverse('extauth:settings', args=[user.id])
REDIRECT_FIELD_NAME: reverse('extauth:settings', args=[user.id]) + "#reset",
})
def finish_registration_by_email_link(site, email, user):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment