ソースを参照

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;

読み込み中…
キャンセル
保存