Commit 3c601ffb authored by 崔佳豪's avatar 崔佳豪

fix: 修复免密登录失败重载问题

parent aaad0ddd
Pipeline #55875 waiting for manual action with stages
......@@ -141,6 +141,11 @@ class Login {
self.getUserInfoAndConfig();
} else {
self.logout && self.logout();
if (params.getParams('token')) {
// token免登录失败,回到登录页,防止reload造成死循环
window.location.href = `${window.location.origin}`;
return false;
}
if (
self.globalConfig.style === 'ios' &&
self.globalConfig.loginTemplate === 'IOSCloud.html'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment