LP#1693035 Login timeout honors workstation org user/mmorgan/lp1693035-auth-org-settings-global-signoff
authorBill Erickson <berickxx@gmail.com>
Tue, 17 Oct 2017 16:40:11 +0000 (12:40 -0400)
committerMichele Morgan <mmorgan@noblenet.org>
Thu, 24 May 2018 16:17:09 +0000 (12:17 -0400)
commit470a2873eac042c06378297a7bd96e16f0127d10
tree9dab8562172b3f40fb1d3c805249b5e2a7557aab
parent4efaa63d2a35038bc2841e883f3cd0baafd849ef
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>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/src/c-apps/oils_auth_internal.c