fix: Set correct bcrypt hash for admin password
Problem:
- PostgreSQL admins.password was empty (length=0)
- SQLite sftpgo_admins.password_hash was empty (length=0)
- Admin login failed with 'Invalid credentials'
Solution:
- Generated fresh bcrypt hash for 'admin123'
- Updated both PostgreSQL and SQLite databases
- Restarted server to refresh in-memory cache
Test result:
✅ Admin login returns token successfully
Password: admin123
Hash: $2b$10$... (60 chars)
Files updated:
- data/auth.sqlite (SQLite)
- PostgreSQL admins table
This commit is contained in: