Skip to content

Commit

Permalink
add bcrypt hashing for password
Browse files Browse the repository at this point in the history
  • Loading branch information
megoxv committed Dec 16, 2024
1 parent f544b93 commit a666f19
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit a666f19

Please sign in to comment.