Commit Graph

2 Commits

Author SHA1 Message Date
5489d92211 Dodano reguły dostępu dla plików: thumb.php, ajax.php, upload-product-images.php, upload-product-files.php, upload-articles-files.php oraz upload-articles-images.php w pliku .htaccess 2026-01-01 21:02:46 +01:00
290aa31aa7 Add two-factor authentication fields to pp_users table and update .htaccess for security
- Added columns for two-factor authentication (2FA) in the pp_users table:
  - twofa_enabled (TINYINT)
  - twofa_email (VARCHAR)
  - twofa_code_hash (VARCHAR)
  - twofa_expires_at (DATETIME)
  - twofa_sent_at (DATETIME)
  - twofa_failed_attempts (INT)
- Updated the twofa_enabled and twofa_email for user with id 0.
- Enhanced .htaccess to disable directory listing, block execution of sensitive files, and prevent serving hidden files.
2025-12-11 23:57:22 +01:00