git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'onelab' of ssh://git.onelab.eu/git/myslice into onelab
[myslice.git]
/
auth
/
static
/
js
/
logout.js
diff --git
a/auth/static/js/logout.js
b/auth/static/js/logout.js
index
593eb58
..
3419b9d
100644
(file)
--- a/
auth/static/js/logout.js
+++ b/
auth/static/js/logout.js
@@
-5,7
+5,7
@@
function logout () {
var msg="Are you sure you want to logout as " + username + " ?";
/* redirect to /logout, see urls.py */
if (confirm(msg)){
- localStorage.
removeItem('user'
);
+ localStorage.
clear(
);
window.location="/logout/";
}
}