Can we enable a user to connect their facebook account to their drupal account, but prevent them from using their facebook account from logging in to the site. I other words, the user must always use their drupal credentials (drupal username and password) to login to the drupal site, but may optionally connect to facebook to receive a new role.

Is this possible?

Comments

Dave Cohen’s picture

Configure fb_user.module to never map accounts (uncheck the checkboxes). (Or don't enable fb_user.module at all.) That way, whether someone is connected to facebook or not, and whether they are logged into drupal or not,

fb_user.module has the ability to give someone a a role when they connect.