Browse Source

REPORT-53714 海外版本访问社区时不提示登录

feature/10.0
Lanlan 3 years ago
parent
commit
eec7460cd1
  1. 3
      designer-base/src/main/java/com/fr/design/login/AbstractDesignerSSO.java

3
designer-base/src/main/java/com/fr/design/login/AbstractDesignerSSO.java

@ -1,5 +1,6 @@
package com.fr.design.login;
import com.fr.base.FRContext;
import com.fr.design.DesignerEnvManager;
import com.fr.design.actions.UpdateAction;
import com.fr.design.login.utils.DesignerLoginUtils;
@ -25,7 +26,7 @@ public abstract class AbstractDesignerSSO extends UpdateAction {
String ssoUrl = DesignerLoginUtils.generateDesignerSSOUrl(url);
BrowseUtils.browser(ssoUrl);
} else {
if (!SupportOSImpl.DESIGNER_LOGIN.support()) {
if (!SupportOSImpl.DESIGNER_LOGIN.support() || !FRContext.isChineseEnv()) {
BrowseUtils.browser(url);
return;
}

Loading…
Cancel
Save