Example #1
0
 private async void ResetPassword_Clicked(object sender, EventArgs e)
 {
     if (string.IsNullOrEmpty(ForgotPasswordEmailEntry.Text) || !RegexHelper.IsValidEmail(ForgotPasswordEmailEntry.Text))
     {
         ForgotPasswordError.Text      = "Please enter a valid email address.";
         ForgotPasswordError.IsVisible = true;
     }
     else
     {
         await _cognitoHelper.ForgotPassword(ForgotPasswordEmailEntry.Text.ToLower());
     }
 }