aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-04-05 12:36:56 +0100
committerMatthew Wild <mwild1@gmail.com>2011-04-05 12:36:56 +0100
commitdddc15e0d925ced049794b46f5132ad68e7bf7ae (patch)
tree66f3c0a43c2bdee15d1800ebb156e1ebd1dbddeb
parent662e978e43b939dd737adff80121c1f482d9eef0 (diff)
downloadprosody-dddc15e0d925ced049794b46f5132ad68e7bf7ae.tar.gz
prosody-dddc15e0d925ced049794b46f5132ad68e7bf7ae.zip
prosody.cfg.lua.dist: Add example of 'authentication' option
-rw-r--r--prosody.cfg.lua.dist9
1 files changed, 9 insertions, 0 deletions
diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist
index d1bd7d67..e513b116 100644
--- a/prosody.cfg.lua.dist
+++ b/prosody.cfg.lua.dist
@@ -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