mirror of
https://github.com/UNITRONIX/BetterDesk.git
synced 2026-09-11 13:49:03 +00:00
e8cb35b652
- ensureDefaultAdmin() now reads Go server's .admin_credentials file as fallback when DEFAULT_ADMIN_PASSWORD env var is not set - Searches multiple candidate dirs: keysPath, keysPath/data, /opt/betterdesk, /opt/betterdesk/data, /opt/rustdesk, /opt/rustdesk/data - Parses 'Admin Password: <value>' line from the file - Fixes password mismatch on manual installs without ALL-IN-ONE scripts - Existing installs with .env DEFAULT_ADMIN_PASSWORD are unaffected (env wins)