Commit 85be6bd7 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

UI auth client fix

Fix early check for existing cookie contents
parent dc728593
......@@ -86,7 +86,7 @@
cookie_name: '{{ auth_cookie_name }}',
login_url: '{{ login_redirect }}'
});
if (!tmp_auth_client.get_user()) { tmp_auth_client.redirect_to_login(); }
if (!tmp_auth_client.get_token()) { tmp_auth_client.redirect_to_login(); }
</script>
{{ CLOUDBAR_CODE }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment