Security Hardening: Implement RateLimiter for OTP, add strict validation for Admin device_number, and reduce HMAC tolerance to 60s
This commit is contained in:
@@ -18,7 +18,7 @@ return [
|
||||
? trim(file_get_contents('/home/intaleq-api/.secret_key'))
|
||||
: env('JWT_SECRET'),
|
||||
|
||||
'hmac_tolerance' => env('HMAC_TOLERANCE_SECONDS', 300),
|
||||
'hmac_tolerance' => env('HMAC_TOLERANCE_SECONDS', 60),
|
||||
|
||||
// Encryption - قراءة مفتاح التشفير من الملف
|
||||
'legacy_enc_key_path' => '/home/intaleq-api/.enckey',
|
||||
|
||||
Reference in New Issue
Block a user