diff --git a/src/Http/Livewire/Auth/Login.php b/src/Http/Livewire/Auth/Login.php
index a3449f4..c6c8176 100644
--- a/src/Http/Livewire/Auth/Login.php
+++ b/src/Http/Livewire/Auth/Login.php
@@ -162,8 +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()
diff --git a/src/Pages/TwoFactor.php b/src/Pages/TwoFactor.php
index ad95e06..392b7b4 100644
--- a/src/Pages/TwoFactor.php
+++ b/src/Pages/TwoFactor.php
@@ -12,8 +12,8 @@
use Illuminate\Contracts\Support\Htmlable;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Auth;
-use Illuminate\Validation\ValidationException;
use Illuminate\Validation\Rule;
+use Illuminate\Validation\ValidationException;
use Laravel\Fortify\Actions\ConfirmTwoFactorAuthentication;
use Laravel\Fortify\Actions\DisableTwoFactorAuthentication;
use Laravel\Fortify\Actions\EnableTwoFactorAuthentication;