protected void OnPasswordCancel(object sender, PasswordResetEventArgs e) { if (PasswordCancel != null) { PasswordCancel(this, e); } }
void UserProfileEdit1_PasswordReset(object sender, PasswordResetEventArgs e) { if (e.IsSuccessful) { lblFeedback.Text = "Password Reset Success - An email has been sent to the user - " + DateTime.Now.ToString("MM/dd/yyy hh:mm:ss"); } else { lblFeedback.Text = "Password Reset Failed - " + DateTime.Now.ToString("MM/dd/yyy hh:mm:ss"); } }
void UserProfileEdit1_PasswordCancel(object sender, PasswordResetEventArgs e) { lblFeedback.Text = "Password Reset Failed - User may be locked out. - " + DateTime.Now.ToString("MM/dd/yyy hh:mm:ss"); }
public void OnPasswordReset(object sender, PasswordResetEventArgs args) { _securityHandler.OnPasswordReset(args.IsGenerated, args.UserId, args.LoginId, args.Password); }