We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 799c647 + 75ec7e5 commit 52126e4Copy full SHA for 52126e4
docs/guides/mobile_apps.md
@@ -34,7 +34,7 @@ class LoginController extends BaseController
34
],
35
];
36
37
- if (! $this->validate($rules)) {
+ if (! $this->validateData($this->request->getPost(), $rules)) {
38
return $this->response
39
->setJSON(['errors' => $this->validator->getErrors()])
40
->setStatusCode(422);
0 commit comments