[open-ils-commits] [GIT] Evergreen ILS branch master updated. 112731273e3ebd6037818a7c0b95f68503e8693e
Evergreen Git
git at git.evergreen-ils.org
Fri Mar 4 15:26:37 EST 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via 112731273e3ebd6037818a7c0b95f68503e8693e (commit)
from 593cb0cbcf31e075eb91e793502b1315f99f3ce7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 112731273e3ebd6037818a7c0b95f68503e8693e
Author: Galen Charlton <gmc at esilibrary.com>
Date: Fri Mar 4 14:50:22 2016 -0500
LP#1552060: fix persistent login
This patch makes open-ils.auth_internal look for
default_timeout values for persistent authentication
in the intended section of opensrf.xml.
To test:
[1] Attempt to log into the public catalog with the "Stay logged in?"
option in effect. The login will either fail or the session
will not persist when navigating within the "My Account"
pages.
[2] Apply the patch and restart services.
[3] Attempt step 1 again; this time, authentication should work
and the session should remain active.
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
Signed-off-by: Dan Wells <dbw2 at calvin.edu>
diff --git a/Open-ILS/src/c-apps/oils_auth_internal.c b/Open-ILS/src/c-apps/oils_auth_internal.c
index 8f43e13..a2fa08e 100644
--- a/Open-ILS/src/c-apps/oils_auth_internal.c
+++ b/Open-ILS/src/c-apps/oils_auth_internal.c
@@ -103,7 +103,7 @@ static long oilsAuthGetTimeout(
jsonObject* value_obj;
value_obj = osrf_settings_host_value_object(
- "/apps/open-ils.auth/app_settings/default_timeout/opac" );
+ "/apps/open-ils.auth_internal/app_settings/default_timeout/opac" );
_oilsAuthOPACTimeout = oilsUtilsIntervalToSeconds( jsonObjectGetString( value_obj ));
jsonObjectFree(value_obj);
if( -1 == _oilsAuthOPACTimeout ) {
@@ -112,7 +112,7 @@ static long oilsAuthGetTimeout(
}
value_obj = osrf_settings_host_value_object(
- "/apps/open-ils.auth/app_settings/default_timeout/staff" );
+ "/apps/open-ils.auth_internal/app_settings/default_timeout/staff" );
_oilsAuthStaffTimeout = oilsUtilsIntervalToSeconds( jsonObjectGetString( value_obj ));
jsonObjectFree(value_obj);
if( -1 == _oilsAuthStaffTimeout ) {
@@ -121,7 +121,7 @@ static long oilsAuthGetTimeout(
}
value_obj = osrf_settings_host_value_object(
- "/apps/open-ils.auth/app_settings/default_timeout/temp" );
+ "/apps/open-ils.auth_internal/app_settings/default_timeout/temp" );
_oilsAuthOverrideTimeout = oilsUtilsIntervalToSeconds( jsonObjectGetString( value_obj ));
jsonObjectFree(value_obj);
if( -1 == _oilsAuthOverrideTimeout ) {
@@ -130,7 +130,7 @@ static long oilsAuthGetTimeout(
}
value_obj = osrf_settings_host_value_object(
- "/apps/open-ils.auth/app_settings/default_timeout/persist" );
+ "/apps/open-ils.auth_internal/app_settings/default_timeout/persist" );
_oilsAuthPersistTimeout = oilsUtilsIntervalToSeconds( jsonObjectGetString( value_obj ));
jsonObjectFree(value_obj);
if( -1 == _oilsAuthPersistTimeout ) {
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/c-apps/oils_auth_internal.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list