Software /
code /
prosody-modules
File
mod_auto_moved/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 | 4680:59fdda04b87e |
line wrap: on
line source
--- summary: "XEP-0283: Moved" labels: - 'Stage-Alpha' ... Introduction ============ This module implements [XEP-0283: Moved](http://xmpp.org/extensions/xep-0283.html), a way for contacts to notify you that they have moved to a new address. This module is not necessary to generate such notifications - that can be done by clients, for example. What this module does is automatically verify such notifications and, if verification is successful, automatically update your roster (contact list). Configuration ============= There is no configuration for this module, just add it to modules\_enabled as normal. Compatibility ============= ----- ------- 0.11 Does not work ----- ------- trunk Works ----- -------