Files
trafficpumper/app/Notifications/EarnVerifyEmail.php
T

18 lines
456 B
PHP
Raw Normal View History

2026-08-29 15:53:53 +03:00
<?php
namespace App\Notifications;
use Illuminate\Auth\Notifications\VerifyEmail;
use Illuminate\Support\Facades\URL;
class EarnVerifyEmail extends VerifyEmail
{
protected function verificationUrl($notifiable): string
{
return URL::temporarySignedRoute('earn.verification.verify', now()->addMinutes(60), [
'id' => $notifiable->getKey(),
'hash' => sha1($notifiable->getEmailForVerification()),
]);
}
}