Revision 7db06d5a ui/static/synnefo.js
b/ui/static/synnefo.js | ||
---|---|---|
1661 | 1661 |
// logout |
1662 | 1662 |
function user_session_logout() { |
1663 | 1663 |
$.cookie("X-Auth-Token", null); |
1664 |
location.reload(); |
|
1664 |
if (window.LOGOUT_REDIRECT !== undefined) |
|
1665 |
{ |
|
1666 |
window.location = window.LOGOUT_REDIRECT; |
|
1667 |
} else { |
|
1668 |
window.location.reload(); |
|
1669 |
} |
|
1665 | 1670 |
} |
1666 | 1671 |
|
1667 | 1672 |
// action indicators |
Also available in: Unified diff