summaryrefslogtreecommitdiff
path: root/rt/share/html/Admin/Elements/ShowKeyInfo
diff options
context:
space:
mode:
Diffstat (limited to 'rt/share/html/Admin/Elements/ShowKeyInfo')
-rw-r--r--rt/share/html/Admin/Elements/ShowKeyInfo3
1 files changed, 2 insertions, 1 deletions
diff --git a/rt/share/html/Admin/Elements/ShowKeyInfo b/rt/share/html/Admin/Elements/ShowKeyInfo
index acb51c5de..2ec319a63 100644
--- a/rt/share/html/Admin/Elements/ShowKeyInfo
+++ b/rt/share/html/Admin/Elements/ShowKeyInfo
@@ -2,7 +2,7 @@
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@ -80,6 +80,7 @@ $EmailAddress
$Type => 'public'
</%ARGS>
<%INIT>
+return if ($m->cache_self( key => join("||",$EmailAddress,$Type, $$), expires_in => '2 minutes'));
require RT::Crypt::GnuPG;
my %res = RT::Crypt::GnuPG::GetKeyInfo( $EmailAddress, $Type );