From 9cc3f78992f3fcca2cf4b7435ae0673e66e4cf68 Mon Sep 17 00:00:00 2001 From: Onur Date: Fri, 26 Jan 2024 00:50:55 +0300 Subject: [PATCH] Update AttemptProtected.php (#16) table name fixed on validation --- src/Actions/AttemptProtected.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Actions/AttemptProtected.php b/src/Actions/AttemptProtected.php index ea35f13..5c49421 100644 --- a/src/Actions/AttemptProtected.php +++ b/src/Actions/AttemptProtected.php @@ -18,7 +18,7 @@ public function __invoke(Request $request) { $request->validate([ 'password' => ['required', 'string', 'max:255'], - 'identifier' => ['required', 'exists:yor_short_urls,identifier'], + 'identifier' => ['required', 'exists:short_urls,identifier'], ], [ 'identifier.exists' => 'Unable to process the given request, please try again.', ]);