updated cstoreditor to fetch full cached object to get the authtime; capturing authti...
authorBill Erickson <erickson@esilibrary.com>
Mon, 14 Feb 2011 18:03:24 +0000 (13:03 -0500)
committerBill Erickson <berick@esilibrary.com>
Wed, 20 Jul 2011 18:33:58 +0000 (14:33 -0400)
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm

index b034fc2..934bdbf 100644 (file)
@@ -144,8 +144,12 @@ sub load_common {
 
         if($e->checkauth) {
 
+            $self->apache->log->warn("authtime = " . $e->authtime);
+
             $ctx->{authtoken} = $e->authtoken;
+            $ctx->{authtime} = $e->authtime;
             $ctx->{user} = $e->requestor;
+
             $ctx->{user_stats} = $U->simplereq(
                 'open-ils.actor', 
                 'open-ils.actor.user.opac.vital_stats',