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)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Sun, 21 Jun 2020 23:54:29 +0000 (11:54 +1200)
commitb3189e33692fa5f7be90464dbac673aaa8458401
tree37649194a378b0435ff788d8fbd912b6088f780f
parent7d20f2cdc34ce83973203ff55dd7bc4518f2d5e7
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: Aleisha Amohia <aleishaamohia@hotmail.com>
Koha/REST/V1/Auth.pm