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

Fix moodle lecture authentication

parent 337cff3e
No related branches found
No related tags found
No related merge requests found
Pipeline #6208 passed
......@@ -321,7 +321,7 @@ def is_authenticated(auth_list: [], for_lecture: bool):
return True
for moodle_id in perm.moodle_course_ids:
if moodle_id in session.get("moodle_courses", []):
if str(moodle_id) in session.get("moodle_courses", []):
return True
if "auth_data" in session:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment