summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/processReq.template10
1 files changed, 9 insertions, 1 deletions
diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/processReq.template b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/processReq.template
index 5bc143bac..2f8fc7778 100644
--- a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/processReq.template
+++ b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/processReq.template
@@ -1013,7 +1013,15 @@ function renderRequestAttrs()
if (result.header.AUTH_TOKEN.length > 0) {
document.writeln("");
for (var k = 0; k < result.header.AUTH_TOKEN.length; k++) {
- renderNameAndValue("AUTH_TOKEN."+result.header.AUTH_TOKEN[k].name+":", result.header.AUTH_TOKEN[k].value);
+ if (result.header.AUTH_TOKEN[k].name == 'authtime') {
+ renderNameAndValue("AUTH_TOKEN."+result.header.AUTH_TOKEN[k].name+":",
+ new Date(parseInt(result.header.AUTH_TOKEN[k].value)));
+ } else if (result.header.AUTH_TOKEN[k].name == 'authTime') {
+ continue;
+ } else {
+ renderNameAndValue("AUTH_TOKEN."+result.header.AUTH_TOKEN[k].name+":",
+ result.header.AUTH_TOKEN[k].value);
+ }
}
}
if (result.header.SERVER_ATTRS.length > 0) {