1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-19 10:26:17 +00:00

Add logout redirect url

This commit is contained in:
zhengxie
2017-03-29 18:30:41 +08:00
parent 09fc3259a1
commit 2cb2bca2cd
4 changed files with 14 additions and 1 deletions

View File

@@ -70,7 +70,8 @@ else:
name='auth_login'),
url(r'^logout/$',
auth_views.logout,
{'template_name': 'registration/logout.html'},
{'template_name': 'registration/logout.html',
'next_page': settings.LOGOUT_REDIRECT_URL},
name='auth_logout'),
)