Use app panel for password link in AccountCreated notification (#1389)

This commit is contained in:
Boy132
2025-05-21 08:46:27 +02:00
committed by GitHub
parent 51037c5c20
commit 97fb66f5d6

View File

@@ -30,7 +30,7 @@ class AccountCreated extends Notification implements ShouldQueue
->line('Email: ' . $notifiable->email);
if (!is_null($this->token)) {
return $message->action('Setup Your Account', Filament::getResetPasswordUrl($this->token, $notifiable));
return $message->action('Setup Your Account', Filament::getPanel('app')->getResetPasswordUrl($this->token, $notifiable));
}
return $message;