mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 10:38:14 -05:00
fix: correct know file issues
Some checks failed
Docker Build and Publish / build (push) Has been cancelled
Some checks failed
Docker Build and Publish / build (push) Has been cancelled
This commit is contained in:
parent
e8e1316a39
commit
01b1141125
@ -29,6 +29,7 @@ class AuthService
|
|||||||
$formattedToken = 'Bearer ' . ($tokenParts[1] ?? $tokenParts[0]);
|
$formattedToken = 'Bearer ' . ($tokenParts[1] ?? $tokenParts[0]);
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
'token' => $this->user->token,
|
||||||
'auth_data' => $formattedToken,
|
'auth_data' => $formattedToken,
|
||||||
'is_admin' => $this->user->is_admin,
|
'is_admin' => $this->user->is_admin,
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user