verificationUrl($notifiable); return (new MailMessage) ->subject(__('Verify Your Email - Whisper Money')) ->markdown('mail.verify-email', [ 'userName' => $notifiable->name, 'verificationUrl' => $verificationUrl, ]); } /** * Build a signed verification URL that does not require an authenticated session, * so the link verifies the email even when opened in a logged-out browser. */ protected function verificationUrl($notifiable): string { return URL::temporarySignedRoute( 'verification.verify.public', Carbon::now()->addMinutes(Config::get('auth.verification.expire', 60)), [ 'id' => $notifiable->getKey(), 'hash' => sha1($notifiable->getEmailForVerification()), ], ); } }