Software /
code /
prosody-modules
File
mod_muc_gc10/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 | 2940:0167a102ed35 |
line wrap: on
line source
# Groupchat 1.0 usage statistics gathering Groupchat 1.0 was probably the protocol that predated [XEP-0045: Multi-User Chat] and there is still some compatibility that lives on, in the XEP and in implementations. This module tries to detect clients still using the GC 1.0 protocol and what software they run, to determine if support can be removed. Since joins in the GC 1.0 protocol are highly ambiguous, some hits reported will be because of desynchronized MUC clients # Compatibility Should work with Prosody 0.10.x and earlier. It will not work with current trunk, since the MUC code has had major changes.