[open-ils-commits] [GIT] Evergreen ILS branch rel_2_10 updated. d6d925715ce7d7e7ef9426a3e888ef29f65fafaa

Evergreen Git git at git.evergreen-ils.org
Fri Mar 4 15:27:21 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, rel_2_10 has been updated
       via  d6d925715ce7d7e7ef9426a3e888ef29f65fafaa (commit)
      from  f1fc62bc4f6163a4776eee7c2b102d113e6c16ea (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 d6d925715ce7d7e7ef9426a3e888ef29f65fafaa
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