Commit bce3def4 authored by Huang Chengwei's avatar Huang Chengwei

Update run_server.py

fix signal call in auth
parent 1437140f
......@@ -70,7 +70,6 @@ def require_auth(role='user'):
request.user = user
if role == 'admin':
if user.role in ['SU', 'GA']:
request_finished.send_robust(func)
return func(request, *args, **kwargs)
logger.debug('Websocket: user [ %s ] is not admin.' % user.username)
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment