Proje dosyaları eklendi
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?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()),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user