Commit 5e530c29 authored by dhevanthareza's avatar dhevanthareza

..

parent fc69a9b3
......@@ -49,6 +49,6 @@ class UserController extends Controller
$access_token = JWT::encode($user->toArray(), 'secret', 'HS256');
$user->access_token = $access_token;
return response()->json($access_token);
return response()->json($user);
}
}
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