1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-20 02:48:51 +00:00

Fix tests and fix bug in sudo mode

This commit is contained in:
zhengxie
2015-10-19 18:01:55 +08:00
parent 2223db123f
commit 04bb5a60c1
3 changed files with 30 additions and 3 deletions

View File

@@ -1637,7 +1637,7 @@ def sys_sudo_mode(request):
# here we can't use @sys_staff_required
if not request.user.is_staff:
return Http404
raise Http404
password_error = False
if request.method == 'POST':