From: Bill Erickson Date: Mon, 14 Feb 2011 18:03:24 +0000 (-0500) Subject: updated cstoreditor to fetch full cached object to get the authtime; capturing authti... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ec6cc0442eba11c935440742ff40a6e3a861c72c;p=evergreen%2Fequinox.git updated cstoreditor to fetch full cached object to get the authtime; capturing authtime in the web context --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm index b034fc224d..934bdbfc96 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm @@ -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',