Skip to content

Commit

Permalink
Merge pull request #7676 from joshbonnick/add_autocomplete
Browse files Browse the repository at this point in the history
Add autocomplete attribute to password field
  • Loading branch information
danharrin committed Aug 12, 2023
2 parents 027b5d9 + cf457cd commit 3dcee37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/panels/src/Pages/Auth/Login.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ protected function getPasswordFormComponent(): Component
->label(__('filament-panels::pages/auth/login.form.password.label'))
->hint(filament()->hasPasswordReset() ? new HtmlString(Blade::render('<x-filament::link :href="filament()->getRequestPasswordResetUrl()"> {{ __(\'filament-panels::pages/auth/login.actions.request_password_reset.label\') }}</x-filament::link>')) : null)
->password()
->autocomplete('current-password')
->required();
}

Expand Down

0 comments on commit 3dcee37

Please sign in to comment.