|
|
|
@ -1,8 +1,8 @@ |
|
|
|
using Volo.Abp.Account.Localization; |
|
|
|
using Volo.Abp.Account.Settings; |
|
|
|
using Volo.Abp.Localization; |
|
|
|
using Volo.Abp.Settings; |
|
|
|
|
|
|
|
using Volo.Abp.Account.Localization; |
|
|
|
using Volo.Abp.Account.Settings; |
|
|
|
using Volo.Abp.Localization; |
|
|
|
using Volo.Abp.Settings; |
|
|
|
|
|
|
|
namespace LY.MicroService.BackendAdmin.Settings; |
|
|
|
|
|
|
|
// 后台管理项目不引用 Volo.Abp.Account.Application模块,只能自建一个配置
|
|
|
|
@ -17,10 +17,10 @@ public class AccountSettingDefinitionProvider : SettingDefinitionProvider |
|
|
|
L("DisplayName:Abp.Account.IsSelfRegistrationEnabled"), |
|
|
|
L("Description:Abp.Account.IsSelfRegistrationEnabled"), |
|
|
|
isVisibleToClients: true) |
|
|
|
.WithProviders( |
|
|
|
DefaultValueSettingValueProvider.ProviderName, |
|
|
|
ConfigurationSettingValueProvider.ProviderName, |
|
|
|
GlobalSettingValueProvider.ProviderName, |
|
|
|
.WithProviders( |
|
|
|
DefaultValueSettingValueProvider.ProviderName, |
|
|
|
ConfigurationSettingValueProvider.ProviderName, |
|
|
|
GlobalSettingValueProvider.ProviderName, |
|
|
|
TenantSettingValueProvider.ProviderName) |
|
|
|
); |
|
|
|
|
|
|
|
@ -31,10 +31,10 @@ public class AccountSettingDefinitionProvider : SettingDefinitionProvider |
|
|
|
L("DisplayName:Abp.Account.EnableLocalLogin"), |
|
|
|
L("Description:Abp.Account.EnableLocalLogin"), |
|
|
|
isVisibleToClients: true) |
|
|
|
.WithProviders( |
|
|
|
DefaultValueSettingValueProvider.ProviderName, |
|
|
|
ConfigurationSettingValueProvider.ProviderName, |
|
|
|
GlobalSettingValueProvider.ProviderName, |
|
|
|
.WithProviders( |
|
|
|
DefaultValueSettingValueProvider.ProviderName, |
|
|
|
ConfigurationSettingValueProvider.ProviderName, |
|
|
|
GlobalSettingValueProvider.ProviderName, |
|
|
|
TenantSettingValueProvider.ProviderName) |
|
|
|
); |
|
|
|
} |
|
|
|
|