https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12617
--- Comment #7 from Emmi Takkinen <[email protected]> --- Created attachment 107384 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=107384&action=edit Bug 12617: Add syspref PasswordLengthsForCategories Sometimes different patron categories using same password policy would require different lengths in their passwords. In these cases having one length per policy isn't always ideal. This patch adds new syspref 'PasswordLengthsForCategories' to define password lengths for different patron categories in YAML format and removes use of 'minAlnumPasswordLength' and 'minComplexPasswordLength'. If category has no rule set syspref 'minPasswordLength' is used. To test: 1. Run updatedatabase.pl 2. Define some rules to 'PasswordLengthsForCategories' (e.g example provided) 3. Try setting and changing password in different pages (basically follow test plans from previous patches). 4. Confirm error messages are displayed correctly. Also prove t/AuthUtils.t. Sponsored-by: Koha-Suomi Oy -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
