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.
1 parent 032524d commit 2fe9faeCopy full SHA for 2fe9fae
app/Http/Controllers/Auth/AuthController.php
@@ -63,5 +63,7 @@ public function token(Request $request)
63
$userData = [
64
'is_admin' => $user->hasRole('admin'),
65
];
66
+
67
+ return $this->success($userData);
68
}
69
0 commit comments