Ver código fonte

jwt: do not load token_verification module with disabled authentication

Paul Tiedtke 5 anos atrás
pai
commit
4fa50b9f08
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua

+ 1 - 1
prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua

@@ -98,7 +98,7 @@ Component "{{ .Env.XMPP_MUC_DOMAIN }}" "muc"
         {{ if .Env.XMPP_MUC_MODULES }}
         "{{ join "\";\n\"" (splitList "," .Env.XMPP_MUC_MODULES) }}";
         {{ end }}
-        {{ if eq $AUTH_TYPE "jwt" }}
+        {{ if and $ENABLE_AUTH (eq $AUTH_TYPE "jwt") }}
         "{{ $JWT_TOKEN_AUTH_MODULE }}";
         {{ end }}
     }