[Koha-bugs] [Bug 22071] Make authenticate_api_request stash koha.user in OAuth use case
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 4 16:58:23 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22071
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #83639|0 |1
is obsolete| |
--- Comment #4 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 83642
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83642&action=edit
Bug 22071: Make authenticate_api_request stash koha.user in OAuth use case
This patch makes the OAuth code stash the requestion Koha::Patron.
To test:
- Apply the tests patch:
- Run:
$ kshell
k$ prove t/db_dependent/api/v1/auth_authenticate_api_request.t
=> FAIL: Tests fail :-(
- Apply this patch
- Run:
k$ prove t/db_dependent/api/v1/auth_authenticate_api_request.t
=> SUCCESS: Tests pass :-D
- Sign off =D
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list