Files
LarsandCursor 63f2be565f
Deploy Test / test (push) Successful in 11s
Deploy Test / deploy (push) Successful in 21s
Signiere Bestätigung und Ausgaben über den Pfad, damit der Port die Links nicht ungültig macht.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 09:21:30 +01:00

24 lines
623 B
PHP

<?php
namespace App\Notifications;
use App\Http\SignedLink;
use Illuminate\Auth\Notifications\VerifyEmail;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Config;
class VerifyEmailAddress extends VerifyEmail
{
protected function verificationUrl($notifiable): string
{
return SignedLink::temporary(
'verification.verify',
Carbon::now()->addMinutes((int) Config::get('auth.verification.expire', 60)),
[
'id' => $notifiable->getKey(),
'hash' => sha1($notifiable->getEmailForVerification()),
],
);
}
}