modules_enabled = {\r
-- Generally required\r
"roster"; -- Allow users to have a roster. Recommended ;)\r
- "presence"; -- See and broadcast status changes to/from contacts\r
"saslauth"; -- Authentication for clients and servers. Recommended if you want to log in.\r
"tls"; -- Add support for secure TLS on c2s/s2s connections\r
"dialback"; -- s2s dialback support\r
"uptime"; -- Report how long server has been running\r
"time"; -- Let others know the time here on this server\r
"ping"; -- Replies to XMPP pings with pongs\r
+ "register"; -- Allow users to register on this server using a client and change passwords\r
\r
-- Other specific functionality\r
- --"register"; -- Allow users to register on this server using a client\r
--"posix"; -- POSIX functionality, sends server to background, enables syslog, etc.\r
--"console"; -- telnet to port 5582 (needs console_enabled = true)\r
--"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"\r
--"httpserver"; -- Serve static files from a directory over HTTP\r
};\r
\r
+ -- Disable account creation by default, for security\r
+ -- For more information see http://prosody.im/doc/creating_accounts\r
+ allow_registration = false;\r
+ \r
-- These are the SSL/TLS-related settings. If you don't want\r
-- to use SSL/TLS, you may comment or remove this\r
ssl = { \r