In gigya.module line 632 elseif ($login_mode == 'raas' && $account->uid > 1) {

This means any user that's not user 1 gets blocked when they try and log in.

Feature request:

1) Add list of roles to the Gigya settings of roles that can log into the site through Drupal
2) Change code above to something that replaces my code below which is hardcoded to allow 'editor' and 'administrator' log in with the values from the Gigya settings in point 1).

elseif ($login_mode == 'raas' && !(in_array('administrator', $account->roles) || in_array('editor', $account->roles))) {

Comments

gambaweb’s picture

added a permission "Bypass Registration-as-a-Service" every user that has a role with that permission can login via drupal standard login

robcolburn’s picture

Status: Active » Closed (works as designed)