🚀 مُصادَق: تحديث برمجي جديد 2026-05-03 03:15

This commit is contained in:
Hamza-Ayed
2026-05-03 03:15:18 +03:00
parent 392f6dbd9b
commit cf68007ef1
6 changed files with 90 additions and 27 deletions

View File

@@ -30,7 +30,8 @@ final class AuthService
$accessToken = $this->jwtService->issueAccessToken([
'user_id' => $user['id'],
'tenant_id' => $user['tenant_id'],
'role' => $user['role']
'role' => $user['role'],
'assigned_company_id' => $user['assigned_company_id']
]);
$refreshToken = $this->jwtService->issueRefreshToken($user['id']);
@@ -49,7 +50,8 @@ final class AuthService
'id' => $user['id'],
'name' => $user['name'],
'email' => $user['email'],
'role' => $user['role']
'role' => $user['role'],
'assigned_company_id' => $user['assigned_company_id']
]
];
}