]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1620803 Add missing workstation passthru to AuthProxy
authorDan Wells <dbw2@calvin.edu>
Tue, 13 Sep 2016 17:40:43 +0000 (13:40 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 13 Sep 2016 17:59:01 +0000 (13:59 -0400)
commit2bcbdfd88effc5d56fb1b6b774ad2d295b530ae7
tree0439520090deeb7c767738e131f8653970aea247
parent21b1cb9292a0d3c56e2a6f02d2d9f46b1d4cca1b
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>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/perlmods/lib/OpenILS/Application/AuthProxy.pm