aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/resources/templates/views
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-03-02 14:54:23 +0300
committerGravatar Vitaly Takmazov2018-03-02 12:44:39 +0000
commitf17f861e292988327f5084e578f5a0e512033553 (patch)
tree8e8821fba6d86ee4f3be448193e0331f7d7b4764 /juick-www/src/main/resources/templates/views
parent15790c737b87b528f3a8eda4d4cb559220223bd6 (diff)
www: blank redirect for js login
Diffstat (limited to 'juick-www/src/main/resources/templates/views')
-rw-r--r--juick-www/src/main/resources/templates/views/login_success.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/juick-www/src/main/resources/templates/views/login_success.html b/juick-www/src/main/resources/templates/views/login_success.html
new file mode 100644
index 000000000..ee71f12fa
--- /dev/null
+++ b/juick-www/src/main/resources/templates/views/login_success.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Blank window</title>
+</head>
+<body>
+ <script type="text/javascript">
+ window.opener.postMessage("{{ hash }}", "*");
+ window.close();
+ </script>
+</body>
+</html>