Browse Source

0.0.0.6.7

master
rachanon 9 years ago
parent
commit
85a885e399
  1. 5
      login.html

5
login.html

@ -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">'

Loading…
Cancel
Save