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 55f92fe + 34c4e66 commit 6bafe05Copy full SHA for 6bafe05
docs/guides/mobile_apps.md
@@ -44,7 +44,7 @@ class LoginController extends BaseController
44
$result = auth()->attempt($this->request->getPost(setting('Auth.validFields')));
45
if (! $result->isOK()) {
46
return $this->response
47
- ->setJSON(['error' => $result->reason])
+ ->setJSON(['error' => $result->reason()])
48
->setStatusCode(401);
49
}
50
0 commit comments