From ec6cc0442eba11c935440742ff40a6e3a861c72c Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 14 Feb 2011 13:03:24 -0500 Subject: [PATCH] updated cstoreditor to fetch full cached object to get the authtime; capturing authtime in the web context --- Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm | 4 ++++ 1 file changed, 4 insertions(+) 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', -- 2.11.0