From 4fa50b9f08429e010557725c69605e8c65f734d2 Mon Sep 17 00:00:00 2001 From: Paul Tiedtke Date: Wed, 29 Apr 2020 04:08:05 +0200 Subject: [PATCH] jwt: do not load token_verification module with disabled authentication --- prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua b/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua index b6eff04..fa86099 100644 --- a/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua +++ b/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 }} }