I run a small Drupal 6 site for an organisation where I create all user accounts as administrator, rather than allowing users to register their own accounts.

Would it be possible to configure this module so that it allows users to log in only by linking their Facebook accounts against their existing local accounts (instead of allowing the creation of new local accounts, regardless of Drupal's user registration setting)?

Comments

rfdparker’s picture

Sorry to 'bump' this issue - but does anybody know whether this is currently possibly or is on the roadmap?

To reiterate what I mean: to make this module usable on a 'closed' registration site (where the admin creates accounts), such that users could log into their Drupal accounts, hit a link to link their Facebook account with their existing local account, and then in future use a Facebook Connect button to log in to the site (and hence the Facebook-facing features would be unneeded, such as inviting Facebook friends to create accounts on the Drupal site).

vectoroc’s picture

Version: » 6.x-2.x-dev
Status: Active » Needs review
rfdparker’s picture

Status: Needs review » Needs work

Thank you very much - this has almost entirely fixed the issue - if a user tries to use a Facebook account that isn't linked to a local account, and clicks the new account link, they're now sent a access denied page. The only slight issue is that the aforementioned link to create a new account still appears ("CLICK HERE TO CREATE A NEW ACCOUNT WITH FACEBOOK"), whereas, if possible, it might make sense just for the link with exiting account ("CLICK HERE TO CONNECT YOUR EXISTING ACCOUNT WITH FACEBOOK") link to appear. But thanks again, this has made this module usable for my site!

tjharman’s picture

I just commented out a line of php so there's only one option when they login "Link your account"

Pretty easy to do. I can detail what I did if you want?

vectoroc’s picture

no. thanks :)

  • vectoroc committed a54e0a9 on
    #902542 : ignore SSL certificate problem #945998 : added note about $...
gobinathm’s picture

Issue summary: View changes
Status: Needs work » Closed (outdated)

Closing the issue. It was inactive for a long time & it's related to a Drupal Version which is not supported anymore