Skip to content

Commit

Permalink
Missing uidb64 in password reset template
Browse files Browse the repository at this point in the history
  • Loading branch information
yaniv14 committed Jun 7, 2016
1 parent 8df6030 commit f7a3cb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ocd/templates/registration/password_reset_email.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{% trans "Please go to the following page and choose a new password:" %}
{% block reset_link %}
{{protocol}}://{{domain}}{% url 'django.contrib.auth.views.password_reset_confirm' uidb36=uid token=token %}
{{protocol}}://{{domain}}{% url 'django.contrib.auth.views.password_reset_confirm' uidb64=uid token=token %}
{% endblock %}
{% trans "Your username/email, in case you've forgotten:" %} {{ user.email }}

Expand Down
2 changes: 1 addition & 1 deletion src/ocd/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,5 @@

if settings.DEBUG:
urlpatterns += [
url(r'^media/(?P<path>.*)$', serve, {'document_root': settings.MEDIA_ROOT,}),
url(r'^media/(?P<path>.*)$', serve, {'document_root': settings.MEDIA_ROOT}),
]

0 comments on commit f7a3cb9

Please sign in to comment.