Please, I whant to execute some code when new ldap user loged in.
Idea was to add user entity hook, but it does not work cause of
ldaplogin.php:
$this->entityManager->saveEntity($user, [
// Prevent `user` service being loaded by hooks.
SaveOption::SKIP_HOOKS => true,
SaveOption::KEEP_NEW => true,
]);
Is it possible to handle this ?
Idea was to add user entity hook, but it does not work cause of
ldaplogin.php:
$this->entityManager->saveEntity($user, [
// Prevent `user` service being loaded by hooks.
SaveOption::SKIP_HOOKS => true,
SaveOption::KEEP_NEW => true,
]);
Is it possible to handle this ?
Comment