mirror of
https://github.com/nsupdate-info/nsupdate.info.git
synced 2026-04-25 08:35:56 +03:00
[GH-ISSUE #141] crash when trying to reset password #130
Labels
No labels
bug
bug
duplicate
easy
easy
enhancement
enhancement
invalid
needs help
pull-request
scalability
security
task
urgent
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nsupdate.info-nsupdate-info#130
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ThomasWaldmann on GitHub (Jan 26, 2014).
Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/141
This code is now live on the site, fix needed urgently...
@elnappo commented on GitHub (Jan 26, 2014):
okay, this is because a change in django 1.6 https://docs.djangoproject.com/en/dev/releases/1.6/#django-contrib-auth-password-reset-uses-base-64-encoding-of-user-pk
If you replace r'^password_reset_confirm/(?P[0-9A-Za-z]{1,13})-(?P[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$' in nsupdate.info / nsupdate / login / urls.py with r'^password_reset_confirm/(?P[0-9A-Za-z_-]+)/(?P.+)/$' this should work in django 1.6 but not on django 1.5. hope that helps, im sorry :(
@elnappo commented on GitHub (Jan 26, 2014):
in nsupdate / login / templates / password_reset.html is a "{" missing at {% block title %}% trans "Password reset" %}{% endblock %} maybe you can fix this too. sorry
@ThomasWaldmann commented on GitHub (Jan 26, 2014):
typo in template fixed.
@ThomasWaldmann commented on GitHub (Jan 26, 2014):
fixed for django 1.6.1, see
e42bf56de7but now broken for 1.5.x