mod_saslauth: Advertise correct set of mechanisms
Mistakenly iterates over the set of all supported mechanisms instead of
the one without insecure mechanisms if the connection is insecure.
Not a problem if c2s_require_encryption is true
Introduced in 56a0f68b7797
# Prosody IM Server
## Description
Prosody is a server for Jabber/XMPP written in Lua. It aims to be easy
to use and light on resources. For developers, it aims to give a
flexible system on which to rapidly develop added functionality or
rapidly prototype new protocols.
## Useful links
Homepage: https://prosody.im/
Download: https://prosody.im/download
Documentation: https://prosody.im/doc/
Issue tracker: https://issues.prosody.im/
Jabber/XMPP Chat:
Address:
prosody@conference.prosody.im
Web interface:
https://prosody.im/webchat
Mailing lists:
User support and discussion:
https://groups.google.com/group/prosody-users
Development discussion:
https://groups.google.com/group/prosody-dev
## Installation
See the accompanying INSTALL file for help on building Prosody from source. Alternatively
see our guide at https://prosody.im/doc/install