addMinutes(Config::get('auth.verification.expire', 60)), [ 'id' => $notifiable->getKey(), 'hash' => sha1($notifiable->getEmailForVerification()), ] ); } /** * Get the verify email notification mail message for the given URL. * * @param string $url * @return \Illuminate\Notifications\Messages\MailMessage */ protected function buildMailMessage($url) { return (new MailMessage) ->markdown('boilerplate::notifications.email') ->subject(__('Verify Email Address')) ->line(__('Please click the button below to verify your email address.')) ->action(__('Verify Email Address'), $url) ->line(__('If you did not create an account, no further action is required.')); } }