Merge branch 'Kerl/fix_passwd_change' into 'master'

Fixe la vue de changement de mot de passe

La vue par défaut cherchait l'url `password_change_done`. Ce fix
créer un alias `password_change_done` qui pointe vers la bonne vue.

See merge request !26
This commit is contained in:
Basile Clement 2016-06-09 01:34:58 +02:00
commit 15fdf4f5f9

View file

@ -19,7 +19,9 @@ urlpatterns = patterns('',
url(r'^outsider/login$', 'gestioncof.views.login_ext'),
url(r'^outsider/logout$', 'django.contrib.auth.views.logout', {'next_page': '/gestion/'}),
url(r'^outsider/password-change$', 'django.contrib.auth.views.password_change'),
url(r'^outsider/password-change-done$', 'django.contrib.auth.views.password_change_done'),
url(r'^outsider/password-change-done$',
'django.contrib.auth.views.password_change_done',
name='password_change_done'),
url(r'^login$', 'gestioncof.views.login'),
url(r'^logout$', 'gestioncof.views.logout'),
url(r'^profile$', 'gestioncof.views.profile'),