Mercurial > prosody-modules
view mod_muc_restrict_nick/README.markdown @ 5446:dd7bddc87f98
mod_http_oauth2: Fix inclusion of role in refreshed access tokens
`refresh_token_info` does not carry the role, and due to behavior prior
to prosody trunk rev a1ba503610ed it would have reverted to the users'
default role. After that it instead issues a token without role which is
thus not usable with e.g. mod_rest
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 11 May 2023 21:37:35 +0200 |
parents | e7b126161e7b |
children |
line wrap: on
line source
--- labels: - 'Stage-Alpha' summary: 'Require MUC occupant nicknames to match a specific pattern' --- Introduction ============ This checks the nickname of a joining user against a configurable [Lua pattern](https://www.lua.org/manual/5.2/manual.html#6.4.1), and prevents them from joining if it does not match. Configuration ============= There is a single configuration option, `muc_restrict_nick_pattern` and the default is `"^%w+$"` - i.e. allow only alphanumeric characters in nicknames. Compatibility ============= Requires Prosody 0.11 or higher.