Mercurial > prosody-wiki
comparison mod_block_registrations.wiki @ 431:0bf555b3a3fa
mod_block_registrations: block_registrations_matching, not _patterns
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 06 Mar 2014 01:39:31 +0100 |
parents | f90471dee368 |
children | 26ac8c0e6ecf |
comparison
equal
deleted
inserted
replaced
430:1cc57962610c | 431:0bf555b3a3fa |
---|---|
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 || block_registrations_users || { "admin" } || A list of reserved usernames || | 23 || block_registrations_users || { "admin" } || A list of reserved usernames || |
24 || block_registrations_patterns || { } || A list of patterns matching reserved usernames (slower than block_registrations_users) || | 24 || block_registrations_matching || { } || A list of patterns matching reserved usernames (slower than block_registrations_users) || |
25 || block_registrations_allow || nil || A pattern that registered user accounts MUST match to be allowed || | 25 || block_registrations_allow || nil || A pattern that registered user accounts MUST match to be allowed || |
26 | 26 |
27 Some examples: | 27 Some examples: |
28 | 28 |
29 {{{ | 29 {{{ |