0
Jayesh created
How do I unlock user from the database? I tried setting LockoutEndDateUtc to null but it didn't work.
1 Answer(s)
-
0
Hi @jayesh
Here is the code part to unlock user: https://github.com/aspnetzero/aspnet-zero-core/blob/a23044792ada3de7881f4eec81fef96b50f92a0a/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core/Authorization/Users/User.cs#L67-L71 You should also set AccessFailedCount to 0(zero)