diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index f61490b116..5144441a1f 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -2301,7 +2301,9 @@ App::post('/v1/account/verification/phone') $messaging ->setRecipient($user->getAttribute('phone')) - ->setMessage($secret); + ->setMessage($secret) + ->trigger() + ; $events ->setParam('userId', $user->getId())