]> git.agnieray.net Git - galette.git/commit - galette/lib/Galette/Core/Preferences.php
Add some password restrictions; closes #1309
authorJohan Cwiklinski <johan@x-tnd.be>
Thu, 21 Sep 2017 06:00:19 +0000 (08:00 +0200)
committerJohan Cwiklinski <johan@x-tnd.be>
Mon, 27 Apr 2020 12:22:21 +0000 (14:22 +0200)
commit72bb37f12e14aaa9903697f741bc59d5cafc5dc4
tree2a29512942d6e591138d3e14c1581fd74e0fd084
parent7a2513444febafb4099e4dae3548994836191939
Add some password restrictions; closes #1309

Make possible to configure password length
and "complexity" from preferences.
Add password blacklist
Add restirctions on personal information used as password
Add "strength meter"
Check password validity on login
Add unit tests
12 files changed:
galette/includes/fields_defs/pass_blacklist [new file with mode: 0644]
galette/includes/routes/ajax.routes.php
galette/includes/routes/authentication.routes.php
galette/lib/Galette/Core/Preferences.php
galette/lib/Galette/Entity/Adherent.php
galette/lib/Galette/Util/Password.php [new file with mode: 0644]
galette/templates/default/forms_types/password.tpl
galette/templates/default/js_pwdcheck.tpl [new file with mode: 0644]
galette/templates/default/preferences.tpl
galette/webroot/themes/default/galette.css
tests/Galette/Entity/tests/units/Adherent.php
tests/Galette/Util/tests/units/Password.php [new file with mode: 0644]