You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no code integrated into ZfcUser for confirmation emails, but you can tie into the register.post event provided by the module. Place this in your Module code:
public function onBootstrap(MvcEvent $e)
{
$sm = $e->getApplication()->getServiceManager();
/** @var User $userService */
$userService = $sm->get('zfcuser_user_service');
$events = $userService->getEventManager();
$events->attach('register.post', function($e) {
...
}, 100);
}
That'd be great to have it as part of the core! I went with acMailer after going through 1 or 2 other libraries beforehand. I think that's the most active library on GitHub.
Hi,
Is there a confirmation by email flow supported by ZfcUser after registration?
The text was updated successfully, but these errors were encountered: