Skip to content

Commit

Permalink
Merge pull request #8 from megoxv/master
Browse files Browse the repository at this point in the history
Add bcrypt hashing for password
  • Loading branch information
3x1io authored Dec 22, 2024
2 parents f544b93 + e385637 commit 1f5cabf
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 1f5cabf

Please sign in to comment.