mailMessage( subject: 'Pengesahan E-mel - MyKOPKB', view: 'auth::emails.verify-email', data: [ 'name' => $notifiable->name, 'verificationUrl' => $this->verificationUrl($notifiable), 'expireMinutes' => $expireMinutes, ], ); } protected function verificationUrl(User $notifiable): string { $expireMinutes = (int) config('auth.verification.expire_minutes', 60); return URL::temporarySignedRoute( 'verification.verify', Carbon::now()->addMinutes($expireMinutes), [ 'id' => $notifiable->getKey(), 'hash' => sha1($notifiable->getEmailForVerification()), ] ); } }