소스 검색

Fix broken claims comparison

j8
Sam Whited 8 년 전
부모
커밋
7fb18d1cb3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      prosody-plugins/mod_auth_token.lua

+ 1
- 1
prosody-plugins/mod_auth_token.lua 파일 보기

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

Loading…
취소
저장