Skip to content
Snippets Groups Projects
Commit 1eda71b5 authored by Lukas Mauß's avatar Lukas Mauß
Browse files

Fix authorization for lecturers

parent 3ebe6af0
1 merge request!379Fix authorization for lecturers
Pipeline #30172 passed with stages
in 8 minutes and 34 seconds
......@@ -46,7 +46,7 @@ export class AuthenticationService {
let role = UserRole.PARTICIPANT;
const roleAsNumber: string = cA.substring(0, 1);
const roomId: string = cA.substring(2);
if (roleAsNumber === '1') {
if (roleAsNumber === '3') {
role = UserRole.CREATOR;
} else if (roleAsNumber === '2') {
role = UserRole.EXECUTIVE_MODERATOR;
......
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