After user A logs in, user B opens another login page. At this time, A will get B's token. The data is messed up (I stored the token in localstorage)! How to deal with it?
过去多啦不再A梦2017-05-27 17:43:53
登录页, 第一件事情就是*判断是否有token/cookie等*,
已经登录(token没过期)的用户, *直接跳转到index页*.
一个浏览器当前只能登陆一个账号.
为情所困2017-05-27 17:43:53
When a logged-in user opens the login page, he should be redirected to the user's personal homepage