Commit d6d6b4b7 authored by Vidhyut Pandya's avatar Vidhyut Pandya

- Formatting

parent 38d52fd9
...@@ -29,7 +29,6 @@ class AuthController extends APIController ...@@ -29,7 +29,6 @@ class AuthController extends APIController
$credentials = $request->only(['email', 'password']); $credentials = $request->only(['email', 'password']);
try { try {
if (!Auth::attempt($credentials)) { if (!Auth::attempt($credentials)) {
return $this->throwValidation(trans('api.messages.login.failed')); return $this->throwValidation(trans('api.messages.login.failed'));
} }
...@@ -42,7 +41,6 @@ class AuthController extends APIController ...@@ -42,7 +41,6 @@ class AuthController extends APIController
$passportToken->token->save(); $passportToken->token->save();
$token = $passportToken->accessToken; $token = $passportToken->accessToken;
} catch (\Exception $e) { } catch (\Exception $e) {
return $this->respondInternalError($e->getMessage()); 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