comparison mod_block_registrations/README.markdown @ 5421:a58ba20b3a71

mod_block_registrations: Update description expansion of default list The default got a lot longer in 368bf9b06484, a bit too long to fit comfortably in this table.
author Kim Alvefur <zash@zash.se>
date Sat, 06 May 2023 17:04:28 +0200
parents 9b43b7fc3558
children 72f23107beb4
comparison
equal deleted inserted replaced
5420:aa068449b0b6 5421:a58ba20b3a71
17 "block_registrations"; 17 "block_registrations";
18 } 18 }
19 19
20 You can then set some options to configure your desired policy: 20 You can then set some options to configure your desired policy:
21 21
22 Option Default Description 22 Option Default Description
23 -------------------------------- --------------- ------------------------------------------------------------------------------------------------------------------------------------------------- 23 ------------------------------ ------------------- -----------------------------------------------------------------------------------------------------------------------------------------------
24 block\_registrations\_users `{ "admin" }` A list of reserved usernames 24 block_registrations_users *See source code* A list of reserved usernames
25 block\_registrations\_matching `{ }` A list of [Lua patterns](http://www.lua.org/manual/5.1/manual.html#5.4.1) matching reserved usernames (slower than block\_registrations\_users) 25 block_registrations_matching `{ }` A list of [Lua patterns](http://www.lua.org/manual/5.1/manual.html#5.4.1) matching reserved usernames (slower than block_registrations_users)
26 block\_registrations\_require `nil` A pattern that registered user accounts MUST match to be allowed 26 block_registrations_require `nil` A pattern that registered user accounts MUST match to be allowed
27 27
28 Some examples: 28 Some examples:
29 29
30 block_registrations_users = { "admin", "root", "xmpp" } 30 block_registrations_users = { "admin", "root", "xmpp" }
31 block_registrations_matching = { 31 block_registrations_matching = {