master
parent
470b210f65
commit
69442163a9
|
|
@ -112,6 +112,7 @@ function logout(){
|
||||||
type : 'get',
|
type : 'get',
|
||||||
url : '/logout',
|
url : '/logout',
|
||||||
success : function(data) {
|
success : function(data) {
|
||||||
|
localStorage.removeItem("token");
|
||||||
location.href='/login.html';
|
location.href='/login.html';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue