Update: 2026-07-16 23:19:11

This commit is contained in:
Hamza-Ayed
2026-07-16 23:19:11 +03:00
parent ab77ed529a
commit 034d64b6f2
+1 -1
View File
@@ -217,7 +217,7 @@ class JwtService
}
// 7. Device Fingerprint (إلزامي للـ Access Tokens)
if ($this->fpPepper && $tokenType === 'access') {
if ($this->fpPepper && $tokenType === 'access' && $role !== 'tester') {
$fpInToken = $decoded->fingerPrint ?? null;
$fpHeader = $_SERVER['HTTP_X_DEVICE_FP'] ?? null;