Skip to content

Commit

Permalink
add validation rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Pathologic committed Apr 5, 2022
1 parent f58c697 commit ceef15d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/Users/UserRegistration.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function getValidationRules(): array
return [
'username' => ['required', 'unique:users'],
'password' => ['required', 'min:6', 'confirmed'],
'email' => ['required', 'unique:user_attributes'],
'email' => ['required', 'email', 'unique:user_attributes'],
];
}

Expand Down

0 comments on commit ceef15d

Please sign in to comment.