Skip to content

Commit

Permalink
Update AttemptProtected.php (#16)
Browse files Browse the repository at this point in the history
table name fixed on validation
  • Loading branch information
onurcanalp committed Jan 25, 2024
1 parent 220753e commit 9cc3f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Actions/AttemptProtected.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
]);
Expand Down

0 comments on commit 9cc3f78

Please sign in to comment.