Software /
code /
prosody-modules
File
mod_admin_web/admin_web/www_files/css/style.css @ 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 | 1219:f53475ee7ff4 |
line wrap: on
line source
body { margin: 0 } a { color: #0000FF } #adhocCommands > ul { margin: 0 } .btn { margin-right: 0.3em } .btn:last-child { margin-right: 0 } #log_container { clear: both; display: none } #adhocCommands { border-right: solid 1px } #adhocCommands li { list-style: inside } #login { float: left; margin: 1em 2em 0 1em; padding-right: 1em; border: solid 1px; background: #eef0f2; color: #000000 } #main { display: none; margin: 1em } #main p { margin: 0 } #top { clear: both; width: 100%; padding: 0; } @media screen and (min-width: 757px) { #header { background: url(../images/blue_orange.png) repeat-x } } #header img { max-width: 100%; height: auto } #menu { display: none; color: #454748; font-size: 1.1em; background: #eef0f2; width: 100%; } #menu ul { display: inline; list-style-type: none; margin: 0; padding: 0.5em 0 } #menu li { display: inline; padding: 0 0.5em } #menu a { color: #454748; text-decoration: none } #menu li a:hover { color: #6197DF; text-decoration: underline } #selector { display: inline-block } #s2sList h2, #c2sList h2 { color: #4b8ade; margin: 0 } #s2sList li, #c2sList li { cursor: pointer } #host { margin: 0.25em; }