Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Define create_user_if_not_exists option as true by default #277

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ftassi
Copy link

@ftassi ftassi commented Jul 16, 2013

FacebookFactory defines create_user_if_not_exists as false and the FacebookProvider implementation in the docs has a loadUserByUsername which create a new user if this does not exists and ignore the create_user_if_not_exists options.

What this PR does:

  1. Define create_user_if_not_exists true by default
  2. Add to the documentation a FacebookProvider that creates the user only if create_user_if_not_exists is true.

Users can now switch creation of new users by altering the configuration params and the FacebookProvider implementation looks more obvious.

Feedback ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants