Revert "Use hashed xmpp auth."

This reverts commit 79e9bce07b.

THis would break existing setups. Will revisit later on.
This commit is contained in:
Saúl Ibarra Corretgé 2020-04-15 12:04:05 +02:00
parent 7aa2d8114c
commit 06e2d5e2e9
2 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ VirtualHost "{{ .Env.XMPP_DOMAIN }}"
cyrus_application_name = "xmpp" cyrus_application_name = "xmpp"
allow_unencrypted_plain_auth = true allow_unencrypted_plain_auth = true
{{ else if eq $AUTH_TYPE "internal" }} {{ else if eq $AUTH_TYPE "internal" }}
authentication = "internal_hashed" authentication = "internal_plain"
{{ end }} {{ end }}
{{ else }} {{ else }}
authentication = "anonymous" authentication = "anonymous"
@ -67,14 +67,14 @@ VirtualHost "{{ .Env.XMPP_AUTH_DOMAIN }}"
key = "/config/certs/{{ .Env.XMPP_AUTH_DOMAIN }}.key"; key = "/config/certs/{{ .Env.XMPP_AUTH_DOMAIN }}.key";
certificate = "/config/certs/{{ .Env.XMPP_AUTH_DOMAIN }}.crt"; certificate = "/config/certs/{{ .Env.XMPP_AUTH_DOMAIN }}.crt";
} }
authentication = "internal_hashed" authentication = "internal_plain"
{{ if .Env.XMPP_RECORDER_DOMAIN }} {{ if .Env.XMPP_RECORDER_DOMAIN }}
VirtualHost "{{ .Env.XMPP_RECORDER_DOMAIN }}" VirtualHost "{{ .Env.XMPP_RECORDER_DOMAIN }}"
modules_enabled = { modules_enabled = {
"ping"; "ping";
} }
authentication = "internal_hashed" authentication = "internal_plain"
{{ end }} {{ end }}
Component "{{ .Env.XMPP_INTERNAL_MUC_DOMAIN }}" "muc" Component "{{ .Env.XMPP_INTERNAL_MUC_DOMAIN }}" "muc"

View File

@ -126,7 +126,7 @@ s2s_secure_auth = false
-- server please see http://prosody.im/doc/modules/mod_auth_internal_hashed -- server please see http://prosody.im/doc/modules/mod_auth_internal_hashed
-- for information about using the hashed backend. -- for information about using the hashed backend.
authentication = "internal_hashed" authentication = "internal_plain"
-- Select the storage backend to use. By default Prosody uses flat files -- Select the storage backend to use. By default Prosody uses flat files
-- in its configured data directory, but it also supports more backends -- in its configured data directory, but it also supports more backends