function auth0_user_delete in Auth0 Single Sign On 8
Same name and namespace in other branches
- 8.2 auth0.module \auth0_user_delete()
- 7.2 auth0.module \auth0_user_delete()
Handle users deletion, it shoudl delete the auth0 profile.
File
- ./
auth0.module, line 31 - Module definition
Code
function auth0_user_delete($account) {
db_delete('auth0_user')
->condition('drupal_id', $account->uid->value)
->execute();
}