Skip to content

Commit

Permalink
Merge pull request #215 from mweghorst/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
mewebstudio authored Apr 22, 2021
2 parents c9181e1 + d8a0754 commit 42c1b32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ and verify the captcha using this method:
//key is the one that you got from json response
// fix validator
// $rules = ['captcha' => 'required|captcha_api:'. request('key')];
$rules = ['captcha' => 'required|captcha_api:'. request('key') . ',default'];
$rules = ['captcha' => 'required|captcha_api:'. request('key') . ',math'];
$validator = validator()->make(request()->all(), $rules);
if ($validator->fails()) {
return response()->json([
Expand Down

0 comments on commit 42c1b32

Please sign in to comment.