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

--- Comment #1 from Lari Taskula <[email protected]> ---
Created attachment 94522
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94522&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

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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/

Reply via email to