Skip to content

Commit 4047847

Browse files
authored
added email validation to the user's email address (alexjustesen#445)
1 parent 9eb5b68 commit 4047847

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Filament/Resources/UserResource.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public static function form(Form $form): Form
4141
->required(),
4242
'email' => TextInput::make('email')
4343
->required()
44+
->email()
4445
->unique(ignoreRecord: true),
4546
'password' => TextInput::make('password')
4647
->required()

0 commit comments

Comments
 (0)