diff --git a/Resources/doc/2-integration-with-fosuserbundle.md b/Resources/doc/2-integration-with-fosuserbundle.md index c5b7821..0f35017 100644 --- a/Resources/doc/2-integration-with-fosuserbundle.md +++ b/Resources/doc/2-integration-with-fosuserbundle.md @@ -79,7 +79,7 @@ to the provider id in the "provider" section in ```config.yml```: // TODO use http://developers.facebook.com/docs/api/realtime $user->setFBData($fbdata); - if (count($this->validator->validate($user, 'Facebook'))) { + if (count($this->validator->validate($user, ['Default', 'Facebook']))) { // TODO: the user was found obviously, but doesnt match our expectations, do something smart throw new UsernameNotFoundException('The facebook user could not be stored'); }