Not sure if bug or me doing something funny.
On if (this.ValidatePassword && !IsValidPassword(this.UserName.ToString(), password.ToString())) the UserName is null although it was entered. Whould it not be userName.ToString() passed into the function ?
Comments:
On if (this.ValidatePassword && !IsValidPassword(this.UserName.ToString(), password.ToString())) the UserName is null although it was entered. Whould it not be userName.ToString() passed into the function ?
Comments:
Fixed