Bug 24003: (follow-up) Add all userenv parameters
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 9 Jun 2020 15:40:32 +0000 (12:40 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 15 Jun 2020 08:29:44 +0000 (10:29 +0200)
commitca7eb99eef2d1ae0258318310e402069194e999b
tree2653c78457f90f66f5a79f7ccdb66b4dab066832
parent6b2d8b6779df37fa6be58f0313f4c128b183e4f6
Bug 24003: (follow-up) Add all userenv parameters

This patch makes the API set more userenv params than just the
borrowernumber. To test:

1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/auth_*
=> SUCCESS: All tests pass
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/REST/V1/Auth.pm