mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
xmpp: Disable TLS on http-bind port (Closes: #239).
This commit is contained in:
parent
1f183bf997
commit
dda0f311b2
@ -104,7 +104,9 @@ def subcommand_setup(_):
|
||||
|
||||
with open(EJABBERD_CONFIG, 'w') as conffile:
|
||||
for line in lines:
|
||||
if 'auth_method: internal' in line:
|
||||
if re.match(r'^\s*tls:\s+true', line):
|
||||
conffile.write(' tls: false\n')
|
||||
elif 'auth_method: internal' in line:
|
||||
conffile.write('## ' + line)
|
||||
elif '## auth_method: ldap' in line:
|
||||
conffile.write('auth_method: ldap\n')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user