18 lines
456 B
PHP
18 lines
456 B
PHP
<?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()),
|
|
]);
|
|
}
|
|
}
|