Moves user activation away from just clicking on reset password
To following the link in the password reset email
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
{% trans "Please go to the following page and choose a new password:" %}
|
||||
{% block reset_link %}
|
||||
https://{{domain}}{% url 'django.contrib.auth.views.password_reset_confirm' uidb36=uid token=token %}
|
||||
https://{{domain}}{% url 'student.views.password_reset_confirm_wrapper' uidb36=uid token=token %}
|
||||
{% endblock %}
|
||||
|
||||
If you didn't request this change, you can disregard this email - we have not yet reset your password.
|
||||
|
||||
@@ -51,7 +51,7 @@ urlpatterns = ('', # nopep8
|
||||
url(r'^password_change_done/$', django.contrib.auth.views.password_change_done,
|
||||
name='auth_password_change_done'),
|
||||
url(r'^password_reset_confirm/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$',
|
||||
django.contrib.auth.views.password_reset_confirm,
|
||||
'student.views.password_reset_confirm_wrapper',
|
||||
name='auth_password_reset_confirm'),
|
||||
url(r'^password_reset_complete/$', django.contrib.auth.views.password_reset_complete,
|
||||
name='auth_password_reset_complete'),
|
||||
|
||||
Reference in New Issue
Block a user