mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-05-25 03:40:40 +02:00
- recover_database_credentials: read root password from JSON mysqlPassword when present; try cyberpanel password from settings.py then FTP/DNS/Postfix configs; refuse DROP/CREATE or random passwords unless CYBERPANEL_ALLOW_DB_CREDENTIAL_RESET=1 (legacy recovery). - Pre-upgrade MariaDB: GRANT root privileges without IDENTIFIED BY so the existing root password hash is not rewritten.