diff options
author | aldot <rep.dot.nop@gmail.com> | 2015-11-10 21:53:09 +0100 |
---|---|---|
committer | Stephen Finucane <stephen.finucane@intel.com> | 2015-11-21 18:00:23 +0000 |
commit | fba8cda0fdc80d0ebf84d84c781e878b52fc4981 (patch) | |
tree | e6ec7250b5f401b2b383b71733a82ccaa9075435 /patchwork/urls.py | |
parent | 960396fc6e07fb389db3f52a3358638ba80a1b0e (diff) | |
download | patchwork-fba8cda0fdc80d0ebf84d84c781e878b52fc4981.tar patchwork-fba8cda0fdc80d0ebf84d84c781e878b52fc4981.tar.gz |
login: add link to password reset
Refurbished version from 2010
Doesn't mention the username in the mail but in the confirmation step.
Essentially the templates are all optional but they do look better (and
more integrated in patchwork) than the default django admin thing.
No testing beyond some bored clicking here and there.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Acked-by: Stephen Finucane <stephen.finucane@intel.com>
Diffstat (limited to 'patchwork/urls.py')
-rw-r--r-- | patchwork/urls.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patchwork/urls.py b/patchwork/urls.py index b28eb90..d6c2501 100644 --- a/patchwork/urls.py +++ b/patchwork/urls.py @@ -52,6 +52,17 @@ urlpatterns = patterns('', name='password_change'), url(r'^user/password-change/done/$', auth_views.password_change_done, name='password_change_done'), + url(r'^user/password-reset/$', auth_views.password_reset, + name='password_reset'), + url(r'^user/password-reset/mail-sent/$', auth_views.password_reset_done, + name='password_reset_done'), + url(r'^user/password-reset/(?P<uidb64>[0-9A-Za-z_\-]+)/' + r'(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$', + auth_views.password_reset_confirm, + name='password_reset_confirm'), + url(r'^user/password-reset/complete/$', + auth_views.password_reset_complete, + name='password_reset_complete'), # login/logout url(r'^user/login/$', auth_views.login, |