Mercurial > prosody-modules
diff mod_block_registrations/README.md @ 6322:f110bce35630
mod_block_registrations: Support blocking confusable usernames (UTS 39)
This prevents registering e.g. "admin" but with a Cyrillic 'a' U+0430
and other such variations, including keming like "adrnin".
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 06 Sep 2025 21:02:26 +0200 |
| parents | fe081789f7b5 |
| children | a1df76ba4f68 |
line wrap: on
line diff
--- a/mod_block_registrations/README.md Sat Sep 06 19:25:15 2025 +0200 +++ b/mod_block_registrations/README.md Sat Sep 06 21:02:26 2025 +0200 @@ -24,6 +24,7 @@ block_registrations_users *See source code* A list of reserved usernames 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) block_registrations_require `nil` A pattern that registered user accounts MUST match to be allowed + block_registrations_confusable `true` Block usernames that look similar to the reserved usernames (requires Prosody be built with ICU) Some examples: @@ -37,6 +38,6 @@ ============= ------ ------- + 13.0 Should work (please test) 0.12 Works - 0.11 Work ------ -------
