@@ -238,16 +238,16 @@ func (b *BaseApi) GetLoginSetting(c *gin.Context) {
238238 ip := common .GetRealClientIP (c )
239239 needCaptcha := global .IPTracker .NeedCaptcha (ip )
240240 res := & dto.LoginSetting {
241- IsDemo : global .CONF .Base .IsDemo ,
242- IsIntl : global .CONF .Base .Edition == "intl" ,
243- IsFxplay : global .CONF .Base .IsFxplay ,
244- IsOffLine : global .CONF .Base .IsOffLine ,
245- IsXPackEE : global .CONF .Base .IsXpackEE ,
246- Language : settingInfo .Language ,
247- MenuTabs : settingInfo .MenuTabs ,
248- PanelName : settingInfo .PanelName ,
249- Theme : settingInfo .Theme ,
250- NeedCaptcha : needCaptcha ,
241+ IsDemo : global .CONF .Base .IsDemo ,
242+ IsIntl : global .CONF .Base .Edition == "intl" ,
243+ IsFxplay : global .CONF .Base .IsFxplay ,
244+ IsOffLine : global .CONF .Base .IsOffLine ,
245+ IsEnterprise : global .CONF .Base .IsEnterprise ,
246+ Language : settingInfo .Language ,
247+ MenuTabs : settingInfo .MenuTabs ,
248+ PanelName : settingInfo .PanelName ,
249+ Theme : settingInfo .Theme ,
250+ NeedCaptcha : needCaptcha ,
251251 }
252252 res .PasskeySetting = xpack .AuthProvider .PasskeyStatus (c )
253253 helper .SuccessWithData (c , res )
0 commit comments