Mercurial > prosody-modules
comparison mod_block_registrations/README.markdown @ 2715:9b43b7fc3558
mod_block_registrations: fix example regex
author | tmolitor <thilo@eightysoft.de> |
---|---|
date | Fri, 12 May 2017 23:41:31 +0200 |
parents | 65d9093525ca |
children | a58ba20b3a71 |
comparison
equal
deleted
inserted
replaced
2714:75b137cf869a | 2715:9b43b7fc3558 |
---|---|
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_require = "^[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 ----- ------------- |