Update: 2026-06-12 20:40:40

This commit is contained in:
Hamza-Ayed
2026-06-12 20:40:40 +03:00
parent 305ae01d52
commit f907212c57
294 changed files with 3592 additions and 3581 deletions

4
backend/Admin/jwtService.php Executable file → Normal file
View File

@@ -45,8 +45,8 @@ try {
$startTime = microtime(true);
// دعم password_verify مع البقاء على التوافق مع كلمات السر القديمة (Plain Text)
if ($user && (password_verify($password, $user['password']) || $user['password'] === $password)) {
// التحقق من كلمة المرور باستخدام password_hash فقط (الأمان)
if ($user && password_verify($password, $user['password'])) {
$limiter->reset(RateLimiter::identifier(), 'login');