Commit cd7ee20ac68c163ae1413e24fe928074f1e7fcd2
1 parent
4d494c34
Committing updated code for unblock user implementation
Showing
1 changed file
with
1 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.API/Models/DBModel.cs
@@ -212,7 +212,7 @@ namespace AIAHTML5.API.Models | @@ -212,7 +212,7 @@ namespace AIAHTML5.API.Models | ||
212 | else | 212 | else |
213 | { | 213 | { |
214 | objUser.IsBlocked = true; | 214 | objUser.IsBlocked = true; |
215 | - objUser.IncorrectLoginAttemptCount = 5; | 215 | + objUser.IncorrectLoginAttemptCount = objModel.GetIncorrectLoginAttempts(objUser.Id); |
216 | } | 216 | } |
217 | } | 217 | } |
218 | else | 218 | else |