Software /
code /
prosody-modules
File
mod_http_dir_listing/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 | 5144:606f6c6535bb |
line wrap: on
line source
--- summary: HTTP directory listing ... Introduction ============ This module generates directory listings when invoked by `mod_http_files`. See [documentation on `mod_http_files`](http://prosody.im/doc/modules/mod_http_files). Configuration ============= The module itself doesn't have any configuration of its own, just enable the it along with `mod_http_files`. modules_enabled = { ... "http_files"; "http_dir_listing"; } http_dir_listing = true; The layout, CSS and icons in the `resources/` directory can be customized or replaced. All resources are cached in memory when the module is loaded and the images are inlined in the CSS. Compatibility ============= ------- -------------- trunk Works 0.9 Works 0.8 Doesn't work ------- --------------