Commit d6d6b4b7 authored by Vidhyut Pandya's avatar Vidhyut Pandya

- Formatting

parent 38d52fd9
......@@ -29,7 +29,6 @@ class AuthController extends APIController
$credentials = $request->only(['email', 'password']);
try {
if (!Auth::attempt($credentials)) {
return $this->throwValidation(trans('api.messages.login.failed'));
}
......@@ -42,7 +41,6 @@ class AuthController extends APIController
$passportToken->token->save();
$token = $passportToken->accessToken;
} catch (\Exception $e) {
return $this->respondInternalError($e->getMessage());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment