prosody.cfg.lua.dist: Add example of declaring admins for a server
authorMatthew Wild <mwild1@gmail.com>
Mon, 21 Sep 2009 14:09:22 +0000 (15:09 +0100)
committerMatthew Wild <mwild1@gmail.com>
Mon, 21 Sep 2009 14:09:22 +0000 (15:09 +0100)
prosody.cfg.lua.dist

index 38618131b79de218e30b5a4137a713d19c60bd5b..de460956b7cfe43cef5b47cf9d1b98f3215d8a38 100644 (file)
 -- Server-wide settings go in this section\r
 Host "*"\r
        \r
+       -- This is a (by default, empty) list of accounts that are admins \r
+       -- for the server. Note that you must create the accounts separately\r
+       -- (see http://prosody.im/doc/creating_accounts for info)\r
+       -- Example: admins = { "user1@example.com", "user2@example.net" }\r
+       admins = { }\r
+       \r
        -- This is the list of modules Prosody will load on startup.\r
        -- It looks for mod_modulename.lua in the plugins folder, so make sure that exists too.\r
        modules_enabled = {\r