jwt: do not load token_verification module with disabled authentication
This commit is contained in:
parent
b0d76a2fc3
commit
4fa50b9f08
|
@ -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 }}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue