Skip to content

Commit e9f403c

Browse files
authored
Fix: missing call to releaseEvents for fireing the EmailChanged event (#86)
* fix: missing release of registered evenrts * chore: format
1 parent a9646d2 commit e9f403c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Jobs/CheckAndUpdateUserEmail.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ public function handle(UserValidator $validator)
7676
$user->changeEmail($this->providedEmail);
7777

7878
$user->save();
79+
$user->releaseEvents();
7980
}
8081
}
8182
}

0 commit comments

Comments
 (0)