prosody.cfg.lua.dist: Add example of 'authentication' option
authorMatthew Wild <mwild1@gmail.com>
Tue, 5 Apr 2011 11:36:56 +0000 (12:36 +0100)
committerMatthew Wild <mwild1@gmail.com>
Tue, 5 Apr 2011 11:36:56 +0000 (12:36 +0100)
prosody.cfg.lua.dist

index d1bd7d67ae91027b104b05237a2607dda85ff8c8..e513b11622ae901cbcc6d52e2e055d7441fe5d53 100644 (file)
@@ -99,6 +99,15 @@ ssl = {
 --c2s_require_encryption = false
 --s2s_require_encryption = false
 
+-- Select the authentication backend to use. The 'internal' providers
+-- use Prosody's configured data storage to store the authentication data.
+-- To allow Prosody to offer secure authentication mechanisms to clients, the
+-- default provider stores passwords in plaintext. If you do not trust your
+-- server please see http://prosody.im/doc/modules/mod_auth_internal_hashed
+-- for information about using the hashed backend.
+
+authentication = "internal_plain"
+
 -- Select the storage backend to use. By default Prosody uses flat files
 -- in its configured data directory, but it also supports more backends
 -- through modules. An "sql" backend is included by default, but requires