Commit 04aec28a authored by 喻天's avatar 喻天

fix: 免密登录

parent ba9e84d0
Pipeline #78844 passed with stages
......@@ -40,7 +40,8 @@ const Login = forwardRef((props, _ref) => {
) {
hasLogin.current = true;
window.hasLogin = true;
if (window.globalConfig && window.globalConfig.hasGateWay) {
const isGZproject = window.globalConfig.subtitle === '广州节约用水管理系统';
if (window.globalConfig && window.globalConfig.hasGateWay && !isGZproject) {
appService
.authorizationToken({
loginName: token,
......
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