[Koha-bugs] [Bug 23865] Throw exceptions from Koha::AuthUtils::is_password_valid
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Oct 22 12:43:01 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23865
Lari Taskula <lari.taskula at hypernova.fi> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #94522|0 |1
is obsolete| |
--- Comment #2 from Lari Taskula <lari.taskula at hypernova.fi> ---
Created attachment 94523
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94523&action=edit
Bug 23865: Throw exceptions in Koha::AuthUtils::is_valid_password
Exceptions are currently thrown in Koha::Patron->set_password.
We need to validate password (with exceptions) without wanting to set
the password.
To test:
1. Make sure is_valid_password is not used anywhere in codebase apart from
Koha::Patron::set_password (grep -rn 'is_valid_password')
2. prove t/db_dependent/Koha/Patrons.t
Observe ok 35 - ->set_password
Sponsored-by: Koha-Suomi Oy
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list