fix: correct know file issues
Some checks failed
Docker Build and Publish / build (push) Has been cancelled

This commit is contained in:
xboard 2025-01-15 20:22:44 +08:00
parent e8e1316a39
commit 01b1141125

View File

@ -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,
]; ];