Thank for this module. I need to automatically re-activate blocked account.
Here a patch to allow doing it from another module.
No need to commit this one, relevant for few case.

Comments

Raphael Apard created an issue. See original summary.

duozersk’s picture

Status: Fixed » Needs review

Raphael,

Thank you for using the module and for the patch.

I will review it and commit, thanks a lot.

AndyB

  • duozersk committed fb56575 on 7.x-2.x authored by Raphael Apard
    Issue #2888507 by Raphael Apard, duozersk: Add hook for blocked user log...
duozersk’s picture

Status: Needs review » Fixed

Raphael,

Reviewed, applied small changes, committed.

Thanks
AndyB

raphael apard’s picture

Que rapido !

Thanks

andypost’s picture

+++ b/hybridauth.api.php
@@ -138,3 +138,15 @@ function hook_hybridauth_user_login($account, $data) {
+ * Invoked when a new user account is not created because he has not been ¶
+ * activated or is blocked.
+ * @param array $identity
+ * HybridAuth identity data.
+ * @param array $data
+ * HybridAuth data.

it needs follow-up to fix CodeStyle

duozersk’s picture

Andy,

I believe I did fix the code style too ;)

AndyB

duozersk’s picture

And here goes the Code Standards issue :) - https://www.drupal.org/node/2888568

Status: Fixed » Closed (fixed)

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