Fix broken claims comparison

This commit is contained in:
Sam Whited 2016-08-26 14:47:34 -05:00
parent 4fc86175e1
commit 7fb18d1cb3
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ function provider.get_sasl_handler(session)
else
claims, msg = token_util.verify_token(token, appId, appSecret, disableRoomNameConstraints);
end
if claims ~= true then
if claims ~= nil then
-- Binds room name to the session which is later checked on MUC join
session.jitsi_meet_room = claims["room"];
return true;