]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1693035 Login timeout honors workstation org
authorBill Erickson <berickxx@gmail.com>
Tue, 17 Oct 2017 16:40:11 +0000 (12:40 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 25 May 2018 17:54:25 +0000 (13:54 -0400)
commit1adbc2842e463dcfd6721c1f8a3cd08d14c809d1
treeee17929eaae87818b98eca20679a53dd28db87d1
parentad604edf81b593983cbc51343b8f858e26a8dd9c
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>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/c-apps/oils_auth_internal.c