Implement close window on server level

This commit is contained in:
2014-09-05 16:00:44 +02:00
parent 0c49a9fa4d
commit ad7b396dd1
5 changed files with 15 additions and 3 deletions
@@ -0,0 +1,7 @@
<!doctype html>
<html>
<head>
<script>localStorage.setItem('auth_token', '<%= params[:authentication_token] %>'); localStorage.setItem('user_id', '<%= params[:user_id] %>');window.close()</script>
</head>
<body></body>
</html>