aboutsummaryrefslogtreecommitdiff
path: root/id/server/modules/moa-id-module-ssoTransfer/src
diff options
context:
space:
mode:
Diffstat (limited to 'id/server/modules/moa-id-module-ssoTransfer/src')
-rw-r--r--id/server/modules/moa-id-module-ssoTransfer/src/main/resources/sso_transfer_template.html23
1 files changed, 9 insertions, 14 deletions
diff --git a/id/server/modules/moa-id-module-ssoTransfer/src/main/resources/sso_transfer_template.html b/id/server/modules/moa-id-module-ssoTransfer/src/main/resources/sso_transfer_template.html
index c2195d300..1cd676ce9 100644
--- a/id/server/modules/moa-id-module-ssoTransfer/src/main/resources/sso_transfer_template.html
+++ b/id/server/modules/moa-id-module-ssoTransfer/src/main/resources/sso_transfer_template.html
@@ -5,25 +5,14 @@
<!-- MOA-ID 2.x BKUSelection Layout CSS -->
<link rel="stylesheet" href="$contextPath/css/buildCSS" />
- #if($timeoutURL)
- <script type="text/javascript">
- function sloTimeOut() {
- window.location.href="$timeoutURL";
-
- }
-
- </script>
+ #if($timeoutURL)
+ <script src="$contextPath/slo.js"></script>
#end
<title>Single Sign-On Session Transfer</title>
</head>
-
-#if($timeoutURL)
- <body onload='setTimeout(sloTimeOut, $timeout);'>
-#else
- <body>
-#end
+<body>
<!--body-->
<noscript>
@@ -59,6 +48,12 @@
</div>
#end
+ #if($timeoutURL)
+ <div>
+ <a id="timeoutURL" href="$timeoutURL">Click here if it does not resume after 30 seconds</a>
+ </div>
+ #end
+
<!--/div-->
</div>
</div>