Skip to content

Commit

Permalink
Merge pull request #251 from joshembling/2.x
Browse files Browse the repository at this point in the history
Remove hyphen from 2fa input
  • Loading branch information
jeffgreco13 authored Oct 2, 2023
2 parents 3340099 + 6a80931 commit 5b25133
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Pages/TwoFactorPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ protected function getFormSchema(): array
<x-filament::link href="#" wire:click="toggleRecoveryCode()">'.($this->usingRecoveryCode ? __('filament-breezy::default.cancel') : __('filament-breezy::default.two_factor.recovery_code_link')) . '
</x-filament::link>')))
->required()
->mask('999-999')
->dehydrateStateUsing(fn (string $state): string => str_replace('-', '', $state))
->extraInputAttributes(['class' => 'text-center'])
->autofocus(),
];
Expand Down

0 comments on commit 5b25133

Please sign in to comment.