Переглянути джерело

Fix broken claims comparison

master
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;

Завантаження…
Відмінити
Зберегти