diff --git a/src/Http/Livewire/Auth/Login.php b/src/Http/Livewire/Auth/Login.php index de4bca8..7763393 100644 --- a/src/Http/Livewire/Auth/Login.php +++ b/src/Http/Livewire/Auth/Login.php @@ -162,7 +162,7 @@ protected function getPasswordFormComponent(): Component { return TextInput::make('password') ->label(__('filament-panels::pages/auth/login.form.password.label')) - ->hint(filament()->hasPasswordReset() ? new HtmlString(Blade::render(' {{ __(\'filament-panels::pages/auth/login.actions.request_password_reset.label\') }}')) : null)->password() + ->hint(Filament::hasPasswordReset() ? new HtmlString(Blade::render(' {{ __(\'filament-panels::pages/auth/login.actions.request_password_reset.label\') }}')) : null)->password() ->revealable(Filament::arePasswordsRevealable()) ->autocomplete('current-password') ->required() @@ -185,4 +185,4 @@ protected function validateCredentials(array $credentials): bool return $user && $provider->validateCredentials($user, $credentials); } -} +} \ No newline at end of file