https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27311
Bug ID: 27311
Summary: Don't pass borrowernumber to check_password plugin
hook
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Plugin architecture
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
check_password is implemented in two places:
1. In Koha::Patron::set_password
https://git.koha-community.org/Koha-community/Koha/src/branch/master/Koha/Patron.pm#L774
2. In Koha::Patron::store
https://git.koha-community.org/Koha-community/Koha/src/branch/master/Koha/Patron.pm#L167
The call to the plugin inside Koha::Patron::store comes before this line:
$self = $self->SUPER::store;
which means there is not yet a borrowernumber to pass to the plugin, and this
never worked.
--
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/