1. daxtens
  2. django-registration

Commits

kubazarz  committed 2251209

uidb36 changed to uidb64 in password_reset_complete

  • Participants
  • Parent commits 6e1776d
  • Branches django1.6

Comments (0)

Files changed (1)

File registration/auth_urls.py

View file
                            auth_views.password_reset,
                            {'post_reset_redirect': reverse_lazy('auth_password_reset_done')},
                            name='auth_password_reset'),
-                       url(r'^password/reset/confirm/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$',
+                       url(r'^password/reset/confirm/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>.+)/$',
                            auth_views.password_reset_confirm,
                            {'post_reset_redirect': reverse_lazy('auth_password_reset_complete')},
                            name='auth_password_reset_confirm'),