How to disable User lockout feature aspnet core
See original GitHub issueIn the class user Manager I tried to use this code below on the constructor but doesn’t work.
Options.Lockout.AllowedForNewUsers = false;
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
User Lockout with ASP.NET Core Identity
The user lockout feature is the way to improve application security by locking out a user that enters a password incorrectly several times....
Read more >How do I implement permanently disabled (lockout) feature ...
How do I implement permanently disabled (lockout) feature, so that user can't log in, in ASP.NET core 2 identity.
Read more >asp.net - Disable User in ASPNET identity 2.0
The trick is to set the LockoutEnabled property on the Identity user AND set the LockoutoutEndDateUtc to a future date from your code...
Read more >User Lockout in ASP.NET Core Identity
To enable the User Lockout in Identity use the IdentityOptions object to configure it in the ConfigureServices method of the Startup.cs class.
Read more >Configure ASP.NET Core Identity
ASP.NET Core Identity uses default values for settings such as password policy, lockout, and cookie configuration. These settings can be ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you want to enable/disable lockout for a specific user, please use
AbpUserManager.SetLockoutEnabledAsync()
Good Morning, I Would like to thank you all for the helpful support. @ddzsy I tried to do what you said and works well.