protonemedia / laravel-verify-new-email

This package adds support for verifying new email addresses: when a user updates its email address, it won't replace the old one until the new one is verified.
https://protone.media/en/blog/an-add-on-to-laravels-built-in-email-verification-only-update-a-users-email-address-if-the-new-one-is-verified-as-well
MIT License
404 stars 30 forks source link

I want to show a success message after verification !! #17

Closed haithemkdous closed 2 years ago

haithemkdous commented 2 years ago

i used VerifyFirtsEmail , i want to show a success message after verification !! i do this in my user model public function sendEmailVerificationNotification() { $this->newEmail($this->getEmailForVerification()); }

haithemkdous commented 2 years ago

i find the solution by using @if(session()->has('verified'))