Comparison

prosody.cfg.lua.dist @ 1291:22dcd5f06bc4

prosody.cfg.lua.dist: Enable mod_register by default, but with registration disabled, and add a comment about it
author Matthew Wild <mwild1@gmail.com>
date Tue, 02 Jun 2009 19:56:12 +0100
parent 1176:2be14b7021b2
child 1446:109ca9e7a6f3
comparison
equal deleted inserted replaced
1290:c253905a8a55 1291:22dcd5f06bc4
52 "legacyauth"; -- Legacy authentication. Only used by some old clients and bots. 52 "legacyauth"; -- Legacy authentication. Only used by some old clients and bots.
53 "version"; -- Replies to server version requests 53 "version"; -- Replies to server version requests
54 "uptime"; -- Report how long server has been running 54 "uptime"; -- Report how long server has been running
55 "time"; -- Let others know the time here on this server 55 "time"; -- Let others know the time here on this server
56 "ping"; -- Replies to XMPP pings with pongs 56 "ping"; -- Replies to XMPP pings with pongs
57 "register"; -- Allow users to register on this server using a client and change passwords
57 58
58 -- Other specific functionality 59 -- Other specific functionality
59 --"register"; -- Allow users to register on this server using a client
60 --"posix"; -- POSIX functionality, sends server to background, enables syslog, etc. 60 --"posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
61 --"console"; -- telnet to port 5582 (needs console_enabled = true) 61 --"console"; -- telnet to port 5582 (needs console_enabled = true)
62 --"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP" 62 --"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
63 --"httpserver"; -- Serve static files from a directory over HTTP 63 --"httpserver"; -- Serve static files from a directory over HTTP
64 }; 64 };
65
66 -- Disable account creation by default, for security
67 -- For more information see http://prosody.im/doc/creating_accounts
68 allow_registration = false;
65 69
66 -- These are the SSL/TLS-related settings. If you don't want 70 -- These are the SSL/TLS-related settings. If you don't want
67 -- to use SSL/TLS, you may comment or remove this 71 -- to use SSL/TLS, you may comment or remove this
68 ssl = { 72 ssl = {
69 key = "certs/localhost.key"; 73 key = "certs/localhost.key";