This commit is contained in:
salam committed 2025-10-15 19:25:38 +02:00
1 parent f751fad37b
commit 56d9caa605
2 files changed
+22 -1

No files matched your search

@@ -38,7 +38,8 @@ class ResetPasswordNotification extends Notification
->action('Passwort Zurücksetzen', $this->resetUrl($notifiable))
->line('Dieser Link zum Zurücksetzen des Passworts läuft in 60 Minuten ab.')
->line('Wenn Sie keine Passwortzurücksetzung beantragt haben, sind keine weiteren Maßnahmen erforderlich.')
->salutation('Mit freundlichen Grüßen<br>Nutzwerte Support Team');
->salutation('Mit freundlichen Grüßen')
->url(filament()->getLoginUrl());
}
protected function resetUrl(mixed $notifiable): string
+20
View File
@@ -0,0 +1,20 @@
<?php
namespace App\Providers;
use Illuminate\Auth\Notifications\VerifyEmail;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Support\ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
public function boot()
{
VerifyEmail::toMailUsing(function ($notifiable, $url) {
return (new MailMessage)
->subject('Verify Email Address')
->line('Click the button below to verify your email address.')
->action('Verify Email Address', $url);
});
}
}