LP#1620803 Add missing workstation passthru to AuthProxy user/dbwells/lp1620803_passthru_workstation_in_authproxy
authorDan Wells <dbw2@calvin.edu>
Tue, 13 Sep 2016 17:40:43 +0000 (13:40 -0400)
committerDan Wells <dbw2@calvin.edu>
Tue, 13 Sep 2016 17:40:43 +0000 (13:40 -0400)
commit1680541d78da20a242f624b1ca8f67cdef8d8584
tree71c67f43822c0de19e20803233405c0df9af851e
parent8284edcdd3de5392b4265f3ee2e806dda761cdc1
LP#1620803 Add missing workstation passthru to AuthProxy

The AuthProxy.pm login function was not passing through a possible
'workstation' parameter to auth_internal's 'session.create' method.
Without this, all login's end up with a workstation set to the user's
home_ou, which can affect things including opt-in and transit
behaviors.

While not needed for the initial 'user.validate', it seems cleaner
and simpler to just bring it over when constructing the initial
$args hash.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/perlmods/lib/OpenILS/Application/AuthProxy.pm