Skip to content

Commit

Permalink
Fixed bug with password reset when using old uidb32 instead of uidb64.
Browse files Browse the repository at this point in the history
  • Loading branch information
yaniv14 committed Jun 7, 2016
1 parent 868e353 commit 6a3914b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ocd/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
{'post_reset_redirect': '/user/password/reset/done/', 'password_reset_form': OCPasswordResetForm},
name="password_reset"),
url(r'^user/password/reset/done/$', password_reset_done),
url(r'^user/password/reset/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$',
url(r'^user/password/reset/(?P<uidb64>[0-9A-Za-z]+)-(?P<token>.+)/$',
password_reset_confirm,
{'post_reset_redirect': '/user/password/done/', 'set_password_form': OCPasswordResetConfirmForm}),
url(r'^user/password/done/$', password_reset_complete),
Expand Down

0 comments on commit 6a3914b

Please sign in to comment.