Skip to content

Commit 52126e4

Browse files
authored
Merge pull request #696 from miguel-rn/develop
Update mobile_apps.md
2 parents 799c647 + 75ec7e5 commit 52126e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/mobile_apps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class LoginController extends BaseController
3434
],
3535
];
3636

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

0 commit comments

Comments
 (0)