Explorar el Código

prosody: fix enabling the token_verification module

Fixes: https://github.com/jitsi/jitsi-meet/issues/4349
Saúl Ibarra Corretgé hace 6 años
padre
commit
f809afe7ed
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua

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

@@ -77,7 +77,7 @@ Component "{{ .Env.XMPP_MUC_DOMAIN }}" "muc"
         {{ if .Env.XMPP_MUC_MODULES }}
         "{{ join "\";\n\"" (splitList "," .Env.XMPP_MUC_MODULES) }}";
         {{ end }}
-        {{ if .Env.JWT_ENABLE_TOKEN_AUTH | default "0" | toBool }}
+        {{ if eq $AUTH_TYPE "jwt" }}
         "token_verification";
         {{ end }}
     }