diff --git a/src/Filament/Resources/AccountResource/Form/Components/Password.php b/src/Filament/Resources/AccountResource/Form/Components/Password.php index bfae5fb..99e8c59 100644 --- a/src/Filament/Resources/AccountResource/Form/Components/Password.php +++ b/src/Filament/Resources/AccountResource/Form/Components/Password.php @@ -13,6 +13,7 @@ public static function make(): Forms\Components\Field ->confirmed() ->visible(fn (Forms\Get $get) => $get('is_login')) ->password() + ->dehydrateStateUsing(fn ($state) => bcrypt($state)) ->maxLength(255); } }