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;