Skip to content

Commit 4fa50b9

Browse files
sapkrasaghul
authored andcommitted
jwt: do not load token_verification module with disabled authentication
1 parent b0d76a2 commit 4fa50b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Component "{{ .Env.XMPP_MUC_DOMAIN }}" "muc"
9898
{{ if .Env.XMPP_MUC_MODULES }}
9999
"{{ join "\";\n\"" (splitList "," .Env.XMPP_MUC_MODULES) }}";
100100
{{ end }}
101-
{{ if eq $AUTH_TYPE "jwt" }}
101+
{{ if and $ENABLE_AUTH (eq $AUTH_TYPE "jwt") }}
102102
"{{ $JWT_TOKEN_AUTH_MODULE }}";
103103
{{ end }}
104104
}

0 commit comments

Comments
 (0)