From 97fb66f5d6ea0355d72ee489d03735657e7c47e5 Mon Sep 17 00:00:00 2001 From: Boy132 Date: Wed, 21 May 2025 08:46:27 +0200 Subject: [PATCH] Use `app` panel for password link in AccountCreated notification (#1389) --- app/Notifications/AccountCreated.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Notifications/AccountCreated.php b/app/Notifications/AccountCreated.php index 4f3ba975d..00459842d 100644 --- a/app/Notifications/AccountCreated.php +++ b/app/Notifications/AccountCreated.php @@ -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;