diff --git a/src/Pages/TwoFactorPage.php b/src/Pages/TwoFactorPage.php index 7cbd4e9..3ac573a 100644 --- a/src/Pages/TwoFactorPage.php +++ b/src/Pages/TwoFactorPage.php @@ -58,7 +58,7 @@ protected function getFormSchema(): array '.($this->usingRecoveryCode ? __('filament-breezy::default.cancel') : __('filament-breezy::default.two_factor.recovery_code_link')).' '))) ->required() - ->extraInputAttributes(['class' => 'text-center']) + ->extraInputAttributes(['class' => 'text-center', 'autocomplete' => $this->usingRecoveryCode ? 'off' : 'one-time-code']) ->autofocus(), ]; }