Fix broken claims comparison
This commit is contained in:
parent
4fc86175e1
commit
7fb18d1cb3
|
@ -154,7 +154,7 @@ function provider.get_sasl_handler(session)
|
||||||
else
|
else
|
||||||
claims, msg = token_util.verify_token(token, appId, appSecret, disableRoomNameConstraints);
|
claims, msg = token_util.verify_token(token, appId, appSecret, disableRoomNameConstraints);
|
||||||
end
|
end
|
||||||
if claims ~= true then
|
if claims ~= nil then
|
||||||
-- Binds room name to the session which is later checked on MUC join
|
-- Binds room name to the session which is later checked on MUC join
|
||||||
session.jitsi_meet_room = claims["room"];
|
session.jitsi_meet_room = claims["room"];
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue