Skip to content

Commit d44230e

Browse files
authored
prosody: use hashed xmpp auth
1 parent 186cb60 commit d44230e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ VirtualHost "{{ .Env.XMPP_DOMAIN }}"
3333
cyrus_application_name = "xmpp"
3434
allow_unencrypted_plain_auth = true
3535
{{ else if eq $AUTH_TYPE "internal" }}
36-
authentication = "internal_plain"
36+
authentication = "internal_hashed"
3737
{{ end }}
3838
{{ else }}
3939
authentication = "anonymous"
@@ -67,14 +67,14 @@ VirtualHost "{{ .Env.XMPP_AUTH_DOMAIN }}"
6767
key = "/config/certs/{{ .Env.XMPP_AUTH_DOMAIN }}.key";
6868
certificate = "/config/certs/{{ .Env.XMPP_AUTH_DOMAIN }}.crt";
6969
}
70-
authentication = "internal_plain"
70+
authentication = "internal_hashed"
7171

7272
{{ if .Env.XMPP_RECORDER_DOMAIN }}
7373
VirtualHost "{{ .Env.XMPP_RECORDER_DOMAIN }}"
7474
modules_enabled = {
7575
"ping";
7676
}
77-
authentication = "internal_plain"
77+
authentication = "internal_hashed"
7878
{{ end }}
7979

8080
Component "{{ .Env.XMPP_INTERNAL_MUC_DOMAIN }}" "muc"

prosody/rootfs/defaults/prosody.cfg.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ s2s_secure_auth = false
126126
-- server please see http://prosody.im/doc/modules/mod_auth_internal_hashed
127127
-- for information about using the hashed backend.
128128

129-
authentication = "internal_plain"
129+
authentication = "internal_hashed"
130130

131131
-- Select the storage backend to use. By default Prosody uses flat files
132132
-- in its configured data directory, but it also supports more backends

0 commit comments

Comments
 (0)