forked from DGNum/gestioCOF
Change la redirection après '/outsider/logout'
On change `/gestion/` en `home` qui fait la même chose mais fonctionne à la fois en dev et en prod.
This commit is contained in:
parent
6dfe363717
commit
b222c944f6
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ urlpatterns = patterns('',
|
||||||
url(r'^cas/logout$', 'django_cas_ng.views.logout'),
|
url(r'^cas/logout$', 'django_cas_ng.views.logout'),
|
||||||
url(r'^outsider/login$', 'gestioncof.views.login_ext'),
|
url(r'^outsider/login$', 'gestioncof.views.login_ext'),
|
||||||
url(r'^outsider/logout$', 'django.contrib.auth.views.logout',
|
url(r'^outsider/logout$', 'django.contrib.auth.views.logout',
|
||||||
{'next_page': '/gestion/'}),
|
{'next_page': 'home'}),
|
||||||
url(r'^login$', 'gestioncof.views.login'),
|
url(r'^login$', 'gestioncof.views.login'),
|
||||||
url(r'^logout$', 'gestioncof.views.logout'),
|
url(r'^logout$', 'gestioncof.views.logout'),
|
||||||
# Infos persos
|
# Infos persos
|
||||||
|
|
Loading…
Reference in a new issue