Revision 4ef604a6 snf-cyclades-app/synnefo/ui/templates/home.html
b/snf-cyclades-app/synnefo/ui/templates/home.html | ||
---|---|---|
76 | 76 |
|
77 | 77 |
<!-- the following views require refactor --> |
78 | 78 |
<script src="{{ SYNNEFO_JS_URL }}synnefo.js"></script> |
79 |
|
|
80 |
{{ CLOUDBAR_CODE }} |
|
79 | 81 |
|
80 | 82 |
<script> |
81 | 83 |
// empty object for console to avoid errors in browsers that don't support it |
... | ... | |
584 | 586 |
synnefo.auth_client = new synnefo.auth.AstakosClient({ |
585 | 587 |
login_url: synnefo.config.login_redirect, |
586 | 588 |
logout_url: synnefo.config.logout_redirect, |
587 |
cookie_name: synnefo.config.auth_cookie_name |
|
589 |
cookie_name: synnefo.config.auth_cookie_name, |
|
590 |
logout_callback: function(client) { |
|
591 |
Backbone.history.navigate(client.config.logout_url); |
|
592 |
window.location = client.config.logout_url; |
|
593 |
} |
|
588 | 594 |
}); |
589 | 595 |
|
590 | 596 |
// user config |
Also available in: Unified diff