https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32739
Nick Clemens <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #153684|0 |1 is obsolete| | --- Comment #14 from Nick Clemens <[email protected]> --- Created attachment 153777 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=153777&action=edit Bug 32739: Allow other patron identifier on pwd validation This patch takes a step forward on the password validation endpoint, by renaming the `userid` attribute to `identifier` and making it be allowed to be the patron's `cardnumber`. The implementation relies on `C4::Auth::checkpw` to query for the patron. Note the original implementation verified the `userid` was really a `userid`, and with this patch, `userid` is just an alias for `identifier`. To test: 1. Apply this patches 2. Run: $ ktd --shell k$ prove t/db_dependent/api/v1/password_validation.t => SUCCESS: Tests pass! 3. Sign off :-D Signed-off-by: Nick Clemens <[email protected]> -- 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/
