diff --git a/app/Listeners/HandleUserSettingsChanged.php b/app/Listeners/HandleUserSettingsChanged.php index 5a0dfb5b62..c70275713d 100644 --- a/app/Listeners/HandleUserSettingsChanged.php +++ b/app/Listeners/HandleUserSettingsChanged.php @@ -44,7 +44,7 @@ class HandleUserSettingsChanged $users = $this->accountRepo->loadAccounts(Auth::user()->id); Session::put(SESSION_USER_ACCOUNTS, $users); - if ($event->user && $event->user->isEmailBeingChanged()) { + if ($event->user && $event->user->confirmed && $event->user->isEmailBeingChanged()) { $this->userMailer->sendConfirmation($event->user); $this->userMailer->sendEmailChanged($event->user);