Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
85be6bd7
Commit
85be6bd7
authored
Mar 20, 2013
by
Kostas Papadimitriou
Browse files
UI auth client fix
Fix early check for existing cookie contents
parent
dc728593
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-cyclades-app/synnefo/ui/templates/home.html
View file @
85be6bd7
...
...
@@ -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 }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment