Hi.

I've just customized gauth_login, in order to add a role to Drupal users created with Google Sign In button.
Here is the patch.
I've only added a checkbox list in gauth_login admin form, to select one or more roles (if needed).
Then, when the new user is created, he is automatically granted selected roles.
And also a variable_del call in hook_uninstall.

Do you agree with it ?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

OwilliwO’s picture

sadashiv’s picture

Status: Active » Fixed

Hi @OwilliwO,

The patch seems to work fine. Thanks for contributing.

Thanks,
Sadashiv.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.