title: Firebase reset password using provider accounts
body: <p>I am using firebase for a little while and I find a little issue I think it's not a big issue, that issue is that when I login with provider account like: "facebook" account and I enter facebook account email in forgot password field this should show an error but what happens is that the method success, my question is that when I reset password is my facebook account password changed or what happens, heres my method below:</p>
  
  <pre><code> mAuth.sendPasswordResetEmail(Email).addOnCompleteListener(new OnCompleteListener&lt;Void&gt;() {
                  @Override
                  public void onComplete(@NonNull Task&lt;Void&gt; task) {
                      if (task.isSuccessful()){Toast.makeText(forgot.this,"Send",Toast.LENGTH_SHORT).show();mProgress.hide();}
                      else {Toast.makeText(forgot.this,"Not send",Toast.LENGTH_SHORT).show();mProgress.hide();}}});}
  </code></pre>
  
  <p>I need a method that check if user email is an provider email like "facebook,twitter and google" and return.</p>
  
  <p>So any help brothers.</p>