Commit e9579009 authored by Viral Solani's avatar Viral Solani

Merge branch 'develop' of https://github.com/viralsolani/laravel-adminpanel into develop

parents 8fb82d98 7747f1aa
...@@ -83,6 +83,7 @@ class AuthController extends APIController ...@@ -83,6 +83,7 @@ class AuthController extends APIController
protected function respondWithToken($token) protected function respondWithToken($token)
{ {
return $token; return $token;
return response()->json([ return response()->json([
'access_token' => $token, 'access_token' => $token,
// 'token_type' => 'bearer', // 'token_type' => 'bearer',
......
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