]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1693035 Login timeout honors workstation org user/berick/lp1693035-auth-org-settings-global
authorBill Erickson <berickxx@gmail.com>
Tue, 17 Oct 2017 16:40:11 +0000 (12:40 -0400)
committerBill Erickson <berickxx@gmail.com>
Tue, 17 Oct 2017 16:40:14 +0000 (12:40 -0400)
commite67be668fdfab7b42bbe71aaf6532328deefd344
tree04c566d92c6b256eccb6f6fd175ac2bfe50a81ee
parent5e479ec7f42f570ba7db2f7668d6c3ac82b8975c
LP#1693035 Login timeout honors workstation org

Use the org unit linked to the provided workstation to collect the
login timeout org unit setting value during login.  Previously, all
checks defaulted to the global org unit.

This patch solidifies the precedence order for OUS lookups during login
like so:

1. Workstation org unit.
2. API org unit value.
3. Users' home org unit.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/c-apps/oils_auth_internal.c