trouble: maxInvalidPasswordAttempts

Mar 15, 2012 at 12:56 PM

Hi OmidID,

I downloaded the newest version with the samples and tried all 3 sample out, nice work.

I can create accounts etc. but when I log out and try to log in with wrong password 5 times in a row, it doesn't seem to update the database field: FailedPasswordAttempCount.

It just says that FailedPasswordAttempCount = 1 even though I know for sure I type the wrong password 5 times.

But maybe it's me, but should the maxInvalidPasswordAttempts be working in those examples?

I can't get that part to work.

Thanks in advance.



Mar 16, 2012 at 11:36 AM


Yes you right. in EFMembershipProvider.cs (Line 352) I used greater than equal (>=) it must be less than equal(<=)

Sorry about this fault. and thank you for your comment. by the way you can submit this problem in Issue Tracker

Thank you so much.

Omid Mafakher