Skip to content
Snippets Groups Projects
Commit 0cc19290 authored by Simon Künzel's avatar Simon Künzel
Browse files

Fixed missing authentication type

parent 55b8c2e8
No related branches found
No related tags found
No related merge requests found
......@@ -107,6 +107,9 @@ def is_authenticated(auth_list: []):
continue
if is_rwth_ip(request.headers["X-Real-IP"]):
return True
elif auth_type == "fsmpi":
if is_moderator():
return True
else:
raise Exception("Unknown permission type: " + str(auth_type))
return False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment