1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 16:36:15 +00:00

Fixed redirect bug in demo account

This commit is contained in:
zhengxie
2012-10-10 20:11:55 +08:00
parent d0671d71a1
commit 34155446e0

View File

@@ -2577,7 +2577,7 @@ def demo(request):
Login as demo account.
"""
redirect_to = '/'
redirect_to = settings.SITE_ROOT
auth_login(request, authenticate(username='demo@seafile.com',
password='demo'))