Commit 136003f1 authored by 崔佳豪's avatar 崔佳豪

fix: token免密登录

parent a1e8e971
Pipeline #54142 passed with stages
......@@ -50,7 +50,7 @@ class Login {
this.loginFailed = false;
this.guid = Math.round(Math.random() * 10000 + Date.now()).toString(16);
this.redirect_state = Cookies.get('redirect_state');
const token = this.globalConfig.initToken || Cookies.get('token');
const token = this.globalConfig.initToken || Cookies.get('token') || params.getParams('token');
let { ddCode } = this.globalConfig;
let { loginName } = this.globalConfig;
let { password } = this.globalConfig;
......
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