This commit is contained in:
Hamza-Ayed
2026-04-30 17:02:01 +03:00
parent 6381e13362
commit a4c1638fb0

View File

@@ -34,8 +34,8 @@ try {
$jwtService = new JwtService($redis);
$role = $admin['role'] ?? 'admin';
// توليد توكن الدخول
$jwt = $jwtService->generateAccessToken($admin['id'], $role, $audience);
// توليد توكن الدخول مع ربطه ببصمة الجهاز
$jwt = $jwtService->generateAccessToken($admin['id'], $role, $audience, $fingerprint);
printSuccess([
"message" => "Login successful",