In the ABP Framework, the Login.cshtml page has this line:
@if (await SettingProvider.IsTrueAsync(AccountSettingNames.IsSelfRegistrationEnabled))
How can this setting be changed?
Thanks
In the Identity server project, in the file appsettings.json
, set the key Abp.Account.IsSelfRegistrationEnabled
with the value false
.
{
"Settings":
{
"Abp.Account.IsSelfRegistrationEnabled": "false"
}
}