Skip to content

Commit

Permalink
added email validation to the user's email address (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjustesen authored Mar 6, 2023
1 parent 9eb5b68 commit 4047847
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Filament/Resources/UserResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public static function form(Form $form): Form
->required(),
'email' => TextInput::make('email')
->required()
->email()
->unique(ignoreRecord: true),
'password' => TextInput::make('password')
->required()
Expand Down

0 comments on commit 4047847

Please sign in to comment.