diff --git a/jumpserver/api.py b/jumpserver/api.py index 4743cca19..70ba2b507 100644 --- a/jumpserver/api.py +++ b/jumpserver/api.py @@ -156,7 +156,6 @@ def require_login(func): def require_super_user(func): def _deco(request, *args, **kwargs): if request.session.get('role_id', 0) != 2: - print "##########%s" % request.session.get('role_id', 0) return HttpResponseRedirect('/') return func(request, *args, **kwargs) return _deco