Software /
code /
prosody-modules
File
mod_register_apps/copyright @ 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 | 4091:354dc1e7977a |
line wrap: on
line source
Copyright of the assets included in the assets/ folder: generic.svg: (C) Matthew Wild 2020 Distributed under the MIT license of the prosody-modules project. Derived from the XMPP logo of the XMPP Standards Foundation: Source: https://en.wikipedia.org/wiki/XMPP#/media/File:XMPP_logo.svg License (MIT): https://opensource.org/licenses/mit-license.php gajim.svg: Source: https://dev.gajim.org/gajim/gajim/-/blob/master/gajim/data/icons/hicolor/scalable/apps/org.gajim.Gajim.svg License (GPLv3): https://dev.gajim.org/gajim/gajim/-/blob/master/COPYING dino.svg: Source: https://github.com/dino/dino/blob/3a00177a51e48d6bafc1e67bab26bc510e6400d8/main/data/icons/im.dino.Dino.svg License (GPLv3): https://github.com/dino/dino/blob/3a00177a51e48d6bafc1e67bab26bc510e6400d8/LICENSE conversations.svg: Source: https://github.com/iNPUTmice/Conversations/blob/master/art/ic_launcher.svg License (CC-BY-SA 4.0): https://github.com/iNPUTmice/Conversations/blob/master/art/LICENSE siskin-im.png: Source: https://github.com/tigase/siskin-im/blob/master/SiskinIM%20-%20Share/Assets.xcassets/AppIcon.appiconset/IMG_1607_3-120.png License (GPLv3): https://github.com/tigase/siskin-im/blob/master/COPYING beagle-im.png: Source: https://github.com/tigase/beagle-im/blob/master/BeagleIM/Assets.xcassets/AppIcon.appiconset/IMG_0720_256-1.png License (GPLv3): https://github.com/tigase/beagle-im/blob/master/LICENSE yaxim.svg: Source: https://github.com/yaxim-org/yaxim/blob/master/asset-graphics/yak/yak-front-grass.svg License (GPLv3): https://github.com/yaxim-org/yaxim/blob/master/LICENSE.txt