-
Notifications
You must be signed in to change notification settings - Fork 92
Password reset confirm url #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Check password_policies.forms.PasswordResetForm and especially the save() method. Line 212 in
In a template do this:
Hope that helps. I'm closing this issue. If you have any questions, feel free to reopen this issue. |
Thanks for the answer, but it doesn't work. I read the code and it doesn't help either. Line 212 tells me that it generates a signature for the link, but nothing on how the url should be generated since the url is not reversable by the I tried what you told me. Here is my template:
Here's the rendered version :
And i stil get a 404 when following the link. From the url of this view (my prefix for the module is
I can't figure out how I should be able to append only one variable at the end since I can see at least 2
I don't know where to look now. Here is my project dependencies if it can help :
Thanks again for your time. |
Damn... What the heck did I do there....? Reopen! |
Thanks for reporting this, by the way... |
No problem... my description wasn't that helpful at first ;) |
Marc-Antoine, please try this in your template:
|
I get a
|
I think the dash in
You need to put the line before the include of the password_policies urlconf. |
I finally made it work with this url pattern
|
Yep, I need to find a suitable regex to catch the signature string... I will change the urlconf temporarily to the one that worked for you and get that into the master branch. is it ok for you to use the workaround for a couple of days? |
No problem, take your time. I patched it in my urlconf and this is only for a project for my class... I won't really need it after tomorrow. |
How do you build the password reset confirm url in the email template? I can't figure out how to do it.
The text was updated successfully, but these errors were encountered: