Beispiel #1
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     if (TextBox1.Text != "")
     {
         auth.SendPasswordResetEmailAsync(TextBox1.Text);
         Response.Write("<script>alert('Succeed')</script>");
         Label1.Visible = true;
     }
     else
     {
         Response.Write("<script>alert('Enter your email')</script>");
     }
 }
Beispiel #2
0
 public async Task SendPasswordResetEmail(string email)
 {
     await authProvider.SendPasswordResetEmailAsync(email);
 }