Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

IsLockoutEnabled always true #5085


User avatar
0
ivanosw1 created

Hi, even if you set AbpZeroSettingNames.UserManagement.UserLockOut.IsEnabled to false in Host or Tenant settings, when a new user is created, the property IsLockoutEnabled is always true.

Subsequently, if you update the user, IsLockoutEnabled is set to true or false, based on the UI check box.

Version 5.3.0, Core & Angular.

Is by design or an Asp.Net Identity problem?

Thanks, Ivano


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    It shouldn't be like that. I have created an issue here <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/1138">https://github.com/aspnetzero/aspnet-ze ... ssues/1138</a>. We will fix it, thank you for your report.

  • User Avatar
    0
    alirizaadiyahsi created

    Hi @ivanosw1, it is about configuration of ASP.NET Core Identity. It is configuring globally. We will think on solution for this issue.

    Check for detail: <a class="postlink" href="https://docs.microsoft.com/en-us/aspnet/core/security/authentication/identity-configuration?view=aspnetcore-2.0&tabs=aspnetcore2x#lockout">https://docs.microsoft.com/en-us/aspnet ... 2x#lockout</a>