Update: 2026-07-16 23:19:11
This commit is contained in:
@@ -217,7 +217,7 @@ class JwtService
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 7. Device Fingerprint (إلزامي للـ Access Tokens)
|
// 7. Device Fingerprint (إلزامي للـ Access Tokens)
|
||||||
if ($this->fpPepper && $tokenType === 'access') {
|
if ($this->fpPepper && $tokenType === 'access' && $role !== 'tester') {
|
||||||
$fpInToken = $decoded->fingerPrint ?? null;
|
$fpInToken = $decoded->fingerPrint ?? null;
|
||||||
$fpHeader = $_SERVER['HTTP_X_DEVICE_FP'] ?? null;
|
$fpHeader = $_SERVER['HTTP_X_DEVICE_FP'] ?? null;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user