Skip to content

Commit 2fe9fae

Browse files
committed
feat(token)
1 parent 032524d commit 2fe9fae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/Http/Controllers/Auth/AuthController.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,7 @@ public function token(Request $request)
6363
$userData = [
6464
'is_admin' => $user->hasRole('admin'),
6565
];
66+
67+
return $this->success($userData);
6668
}
6769
}

0 commit comments

Comments
 (0)