Mercurial > prosody-modules
view mod_cloud_notify_extensions/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 |
parents | 25fd5e268f90 |
children | 5f1120c284c5 |
line wrap: on
line source
--- summary: "Tigase custom push extensions for iOS" labels: - 'Stage-Beta' rockspec: dependencies: - mod_cloud_notify_encrypted - mod_cloud_notify_priority_tag - mod_cloud_notify_filters ... Introduction ============ This is a meta-module that simply enables all the modules required to support Siskin or Snikket iOS on a Prosody server. These are currently: - mod_cloud_notify_encrypted - mod_cloud_notify_priority_tag - mod_cloud_notify_filters See the individual module pages for more details. Note: On MUC services you should also load mod_muc_offline_delivery directly under the MUC component in your config file, that is not handled by this module. Configuration ============= There is no configuration for this module, just add it to modules\_enabled as normal. Compatibility ============= ----- ------- 0.11 Should work ----- ------- trunk Works ----- -------