public override bool ValidateUser (string username, string password)
{
if (username.Length == 0)
return false;
CheckParam ("username", username, 256);
EmitValidatingPassword (username, password, false);
PasswordInfo pi = ValidateUsingPassword (username, password);
if (pi != null) {
pi.LastLoginDate = DateTime.UtcNow;
UpdateUserInfo (username, pi, true, true);
return true;
}
return false;
}