Software /
code /
prosody-modules
File
mod_admin_message/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 | 1820:8de50be756e5 |
child | 5007:34fb3d239ac1 |
line wrap: on
line source
--- labels: - 'Stage-Beta' summary: 'IM-based administration console' ... Introduction ============ This module provides a console over XMPP. All the commands of the mod\_admin\_telnet module are available from an XMPP client. Only the Prosody admins (see the *admins* list in the Prosody configuration file) can use this console. Installation ============ Copy the mod\_admin\_message directory into a directory Prosody will check for plugins (cf. [Installing modules](http://prosody.im/doc/installing_modules)) and set up a component: Component "console@example.com" "admin_message" "console@example.com" is the identifier of the XMPP console. Compatibility ============= --------- --------------- trunk Works 0.9 Works \<= 0.8 Not supported --------- ---------------