Mercurial > prosody-wiki
comparison mod_block_registrations.wiki @ 432:26ac8c0e6ecf
and there too
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 06 Mar 2014 01:39:57 +0100 |
parents | 0bf555b3a3fa |
children |
comparison
equal
deleted
inserted
replaced
431:0bf555b3a3fa | 432:26ac8c0e6ecf |
---|---|
26 | 26 |
27 Some examples: | 27 Some examples: |
28 | 28 |
29 {{{ | 29 {{{ |
30 block_registrations_users = { "admin", "root", "xmpp" } | 30 block_registrations_users = { "admin", "root", "xmpp" } |
31 block_registrations_patterns = { | 31 block_registrations_matching = { |
32 "master$" -- matches postmaster, hostmaster, webmaster, etc. | 32 "master$" -- matches postmaster, hostmaster, webmaster, etc. |
33 } | 33 } |
34 block_registrations_allow = "^[a-zA-Z0-9_-.]$" -- Allow only simple ASCII characters in usernames | 34 block_registrations_allow = "^[a-zA-Z0-9_-.]$" -- Allow only simple ASCII characters in usernames |
35 }}} | 35 }}} |
36 | 36 |