Software /
code /
prosody-modules
File
mod_compat_muc_admin/README.markdown @ 4832:bfd4af4caddc
mod_password_policy: Support for additional policies provided by other modules
E.g. check a password contains an uppercase character:
module:provides("password-policy", {
name = "contains_uppercase";
check_password = function (password, policy)
return (policy ~= true) or (not not password:match("%u"));
end;
})
Config:
password_policy = {
contains_uppercase = true;
}
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 22 Dec 2021 14:48:46 +0000 |
parent | 2639:bdedf85a3e2e |
line wrap: on
line source
--- labels: - 'Stage-Beta' summary: | COMPAT Module for old clients using wrong namespaces in MUC's affiliation manipulations. ... Details ======= Adds compatibility for old clients/libraries attempting to change affiliations and retrieve 'em sending the \< http://jabber.org/protocol/muc\#owner \> xmlns instead of \< http://jabber.org/protocol/muc\#admin \>. Usage ===== Copy the plugin into your prosody's modules directory. And add it between the enabled muc component's modules Compatibility ============= - 0.7-0.8.x