Software /
code /
prosody-modules
File
mod_bidi/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 | 3671:73c456d9ec67 |
child | 5656:d832a5e10c04 |
line wrap: on
line source
--- labels: - 'Stage-Stable' summary: 'XEP-0288: Bidirectional Server-to-Server Connections' ... Introduction ============ This module implements [XEP-0288: Bidirectional Server-to-Server Connections](http://xmpp.org/extensions/xep-0288.html). It allows servers to use a single connection for sending stanzas to each other, instead of two connections (one for stanzas in each direction). Install and enable it like any other module. It has no configuration. Compatibility ============= ------- -------------------------- trunk Bidi available natively with [mod_s2s_bidi][doc:modules:mod_s2s_bidi] 0.11 Works 0.10 Works 0.9 Works 0.8 Works (use the 0.8 repo) ------- --------------------------