Comparison

mod_block_registrations/README.markdown @ 2272:65d9093525ca

mod_block_registrations/README: Correct name of option (thanks Milan*)
author Kim Alvefur <zash@zash.se>
date Sat, 13 Aug 2016 18:19:17 +0200
parent 1803:4d73a1a6ba68
child 2715:9b43b7fc3558
comparison
equal deleted inserted replaced
2271:b34f4591366a 2272:65d9093525ca
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 `{ "admin" }` 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\_allow `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 = {
32 "master$" -- matches anything ending with master: postmaster, hostmaster, webmaster, etc. 32 "master$" -- matches anything ending with master: postmaster, hostmaster, webmaster, etc.
33 } 33 }
34 block_registrations_allow = "^[a-zA-Z0-9_-.]$" -- Allow only simple ASCII characters in usernames 34 block_registrations_require = "^[a-zA-Z0-9_-.]+$" -- Allow only simple ASCII characters in usernames
35 35
36 Compatibility 36 Compatibility
37 ============= 37 =============
38 38
39 ----- ------------- 39 ----- -------------