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