Bug 23816: (follow-up) Fix many things
authorAgustin Moyano <agustinmoyano@theke.io>
Thu, 27 Aug 2020 15:58:56 +0000 (12:58 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 9 Sep 2020 13:39:52 +0000 (15:39 +0200)
commit52deed335e08c3f8f52c834eead6ab462350cf54
treec8cf23b647f828da7e4b4b97216b5d38a0891cf6
parente85b200783c1c56b19c515669a149e6b9920393c
Bug 23816: (follow-up) Fix many things

This patch:
 * reverts changes on misc/admin/set_password.pl
 * makes category param mandatory for AuthUtils::is_valid_password and AuthUtils::generate_password
 * changes onboarding.pl to set category param in AuthUtils::is_valid_password
 * Completes t/db_dependent/AuthUtils.t and drops t/AuthUtils.t
 * Removes offending <input type="number"/> and replaces it by <input type="text" inputmode="numeric" pattern="[0-9]*"/>

https://bugs.koha-community.org/show_bug.cgi?id=23826

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/AuthUtils.pm
Koha/Exceptions/Password.pm
installer/onboarding.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt
misc/admin/set_password.pl
t/AuthUtils.t [deleted file]
t/db_dependent/AuthUtils.t