Like minPasswordLength and RequireStrongPassword
Must it call Koha::AuthUtils::generate_password? See the discussion on bug 17746.
*** This bug has been marked as a duplicate of bug 17746 ***
I think this one should remain open, and probably be an enhancement on top of bug 17746. Sorry for the confusion.
I wrote a patch for this, but then also noticed the 12-digit password generated by pwgen 12 will probably always pass.
Created attachment 84799 [details] [review] Bug 21976: Make koha-reset-passwd respect restrictions This patch makes the set_password.pl script default to respect the restrictions, and adds a --skip_validation parameter to it. koha-reset-passwd is adapted so it also accepts this parameter. The result is the default behaviour respects the restrictions, and they can be skipped. To test: - Try with and without the option switch - Notice the randomly generated password is always strongest than what we enforce. - Sign off
Hi, This patch fails to apply with Auto-merging misc/admin/set_password.pl Auto-merging debian/scripts/koha-reset-passwd CONFLICT (content): Merge conflict in debian/scripts/koha-reset-passwd Sorry :( Cheers, Liz