wip
This commit is contained in:
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))
|
->action('Passwort Zurücksetzen', $this->resetUrl($notifiable))
|
||||||
->line('Dieser Link zum Zurücksetzen des Passworts läuft in 60 Minuten ab.')
|
->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.')
|
->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
|
protected function resetUrl(mixed $notifiable): string
|
||||||
|
|||||||
@@ -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);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user