https://issues.shibboleth.net/jira/browse/SSPCPP-585
[shibboleth/cpp-sp.git] / configs / postTemplate.html
1 <html>
2     <head>
3         <title>Login Completed</title>
4         <script language="Javascript">
5         <!--
6         function submitOnce() {
7           if (location.hash.length>0) {
8              if (confirm("Are you sure you want to resubmit this form information a second time?")) {
9                 document.getElementById("shib_continue").click();
10              } else {
11                 document.body.innerHTML="<html>Form information was not resubmitted.</html>";
12              }
13           } else {
14              var loc = window.location;
15              window.location = loc + "#submitted";
16              document.getElementById("shib_continue").click();
17           }
18         }
19         // -->
20         </script>
21     </head>
22     <body onload="submitOnce()">
23         <h2>Login Completed</h2>
24
25         <noscript>
26         <p>A form submission to this site was interrupted by the login process.
27         If you would like to complete it now, submit this form.</p>
28         </noscript>
29         
30         <form method="POST" action="<shibmlp action/>">
31         <shibmlpfor PostedData>
32             <input type="hidden" name="<shibmlp $name/>" value="<shibmlp $value/>"/>
33         </shibmlpfor>
34         <input type="submit" id="shib_continue" name="_shib_continue_" value="Continue"/>
35         </form>
36     </body>
37 </html>