]> git.evergreen-ils.org Git - working/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:53:54 +0000 (13:53 -0400)
commit2db335069b260e6f884aebdcb4c9ee0375476b0a
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>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/perlmods/lib/OpenILS/Application/AuthProxy.pm