Browse Source

fix: Skips check on domain verification disabled. Fixes #9313.

master
damencho 4 years ago
parent
commit
acdde6f1f5
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      resources/prosody-plugins/token/util.lib.lua

+ 4
- 1
resources/prosody-plugins/token/util.lib.lua View File

347
         return true;
347
         return true;
348
     end
348
     end
349
 
349
 
350
-    local auth_room = string.lower(session.jitsi_meet_room);
350
+    local auth_room = session.jitsi_meet_room;
351
+    if auth_room then
352
+        auth_room = string.lower(auth_room);
353
+    end
351
     if not self.enableDomainVerification then
354
     if not self.enableDomainVerification then
352
         -- if auth_room is missing, this means user is anonymous (no token for
355
         -- if auth_room is missing, this means user is anonymous (no token for
353
         -- its domain) we let it through, jicofo is verifying creation domain
356
         -- its domain) we let it through, jicofo is verifying creation domain

Loading…
Cancel
Save