Skip to content

Commit

Permalink
Remove EmailExists validation rule (#518)
Browse files Browse the repository at this point in the history
Prevent fishing for existing e-mail adresses
  • Loading branch information
kevinvanboeckholtz authored Nov 22, 2022
1 parent d0cff08 commit 18d120a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/Auth/LoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class LoginController extends Controller
public function __invoke(Request $request): JsonResponse
{
$request->validate([
'email' => ['required', 'email', 'exists:users,email'],
'email' => ['required', 'email'],
'password' => ['required'],
]);

Expand Down

0 comments on commit 18d120a

Please sign in to comment.