public bool IsValidPassword(string passwordHash) { if (Membership == null) { return(false); } var b = Membership.IsValidPassword(passwordHash); if (b) { Membership.FailedPasswordMatch(); } else { Membership.ResetPasswordMatches(); } UpdateVersion(); return(b); }