Browse code

Javascript für automatischen Zertifikat-Login ausgelagert

Bernd Wurst authored on08/02/2014 02:31:22
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,12 @@
1
+function redirect(status) {
2
+  if (status == "ok") {
3
+    window.location.reload();
4
+  } else {
5
+    window.location.href="../../certlogin/";
6
+  }
7
+}
8
+
9
+$(function () {
10
+  $.get("../../certlogin/ajax.php", redirect);
11
+}
12
+);