FOSFacebookBundle
FOSFacebookBundle copied to clipboard
FOSFacebookBundle + FosUserBundle Email exist in the BDD
Hello everyone,
I have a special use case i can not solve. When the user click on facebook connect and find an similar email in my BDD. I want to ask the user if the account belongs to him.
If the answer is yes, he needs to connect with his account and then add the facebook id in the bdd.
If the answer is no, i create a new user in the bdd and log in.
I don't find the best way to do this, someone can i help me ?
Thanks