verificationUrl($notifiable); return (new MailMessage) ->subject('Verify your email address — ' . config('app.name')) ->view('emails.verify-email', [ 'url' => $url, 'userName' => $notifiable->name, ]); } protected function verificationUrl($notifiable): string { return URL::temporarySignedRoute( 'verification.verify', Carbon::now()->addMinutes(Config::get('auth.verification.expire', 60)), [ 'id' => $notifiable->getKey(), 'hash' => sha1($notifiable->getEmailForVerification()), ] ); } }