@ -64,6 +64,7 @@
Authorization: 'Bearer '+ token,
},
success: checkToken,
error: tokenError,
dataType: 'json'
});
}
@ -91,7 +92,9 @@
function tokenError(){
loginPage();
function loginPage(){
localStorage.removeItem('token');
var loginTag = '<div class="login">'