Skip to content

Commit

Permalink
Merge pull request #696 from miguel-rn/develop
Browse files Browse the repository at this point in the history
Update mobile_apps.md
  • Loading branch information
datamweb authored Apr 11, 2023
2 parents 799c647 + 75ec7e5 commit 52126e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/mobile_apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class LoginController extends BaseController
],
];

if (! $this->validate($rules)) {
if (! $this->validateData($this->request->getPost(), $rules)) {
return $this->response
->setJSON(['errors' => $this->validator->getErrors()])
->setStatusCode(422);
Expand Down

0 comments on commit 52126e4

Please sign in to comment.