laravel-verify-new-email
laravel-verify-new-email copied to clipboard
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.
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()); }`
Inspired by this tweet: https://twitter.com/HelloAidanCasey/status/1427700895513464841
I implemented the package on my local machine with sail. Everything seemed fine and I was able to receive the mails after changing the email address. Once I uploaded it...
first email : ```blade @component('mail::message') # {{ \Illuminate\Support\Facades\Lang::get('Verify Email Address') }} # {{ \Illuminate\Support\Facades\Lang::get('Please click the button below to verify your email address.') }} @component('mail::button', ['url' => $url]) # {{...
I use livewire, when updating an email I use ``` if ($this->email != $this->user->email) { $this->user->email_verified_at = null; $this->user->newEmail($this->user->email); } ``` if email_verified_at is not set to null, newEmail() will...
It would be nice if the VerifiesPendingEmails trait can handle api requests with json response without redirect and status 204 (or 200) and error message with 401, 422 or something...
Hi is there anywhere a guide how to use/implement this package with laravel jetstream scaffolded app? best regards matthias
Hey @pascalbaljet just noticed that the PHP in the readme doesn't match with the version in the composer.json. This fix updates the readme to PHP7.4 (as in the composer.json). Cheers,...