templates/auth_root.html.erb in lita-gauth-0.1.0.4 vs templates/auth_root.html.erb in lita-gauth-0.1.0.5

- old
+ new

@@ -14,13 +14,15 @@ frameBorder="0" class="giphy-embed" allowFullScreen> </iframe> <script type="application/javascript"> - const user_id = <%= @user_id %>; - const key = <%= @storage_key %>; - localStorage.setItem(key, JSON.stringify(user_id)) - const auth_url = <%= @auth_redir_url %> - window.location.href = auth_url + const user_id = '<%= @user_id %>'; + const key = '<%= @storage_key %>'; + localStorage.setItem(key, user_id); + const auth_url = '<%= @auth_redir_url %>'; + window.setTimeout(() => { + window.location.href = auth_url; + }, 3000) </script> </body> </html>