You are here

function hook_hybridauth_registration_block in HybridAuth Social Login 7.2

This hook allows other modules to block new registrations through HybridAuth based on the data received from authentication provider. Return translated message to show to the user if the registration should be blocked. Return just TRUE if you don't want to show any message.

Parameters

array $data: HybridAuth identity data.

1 invocation of hook_hybridauth_registration_block()
_hybridauth_registration_block in ./hybridauth.module

File

./hybridauth.api.php, line 72
Description of HybridAuth API functions and hooks.

Code

function hook_hybridauth_registration_block($data) {
}