Alllplmpliedl manual JWT check and restored all driver fields68j2
This commit is contained in:
@@ -56,7 +56,7 @@ class PaymentTokenController extends Controller
|
||||
// بناء التوكن بنفس الهيكل المطلوب من V1
|
||||
$payload = [
|
||||
'user_id' => $userId, // V1 يستخرج: $decoded->user_id
|
||||
'iss' => 'Tripz-Wallet', // V1 يتحقق: $decoded->iss === 'Tripz'
|
||||
'iss' => 'Tripz-Wallet', // V1 يتحقق: $decoded->iss === 'Tripz-Wallet'
|
||||
'aud' => $audience,
|
||||
'iat' => time(),
|
||||
'exp' => time() + 120, // زيادة الوقت قليلاً لـ 120 ثانية
|
||||
|
||||
Reference in New Issue
Block a user