Warren
b3074d2e42
fix: Set admin password hash in both databases
Problem: Admin password fields were empty (length=0)
- PostgreSQL admins.password = ''
- SQLite sftpgo_admins.password_hash = ''
Solution:
- Generated fresh bcrypt hash for 'admin123'
- Updated PostgreSQL admins table
- Updated SQLite sftpgo_admins table
- Restarted server to refresh cache
Test result:
✅ Admin login returns token successfully
Password: admin123
Hash algorithm: bcrypt (cost=10)
2026-05-16 23:21:17 +08:00
..
2026-05-16 15:37:37 +08:00
2026-05-16 15:37:37 +08:00
2026-05-16 23:21:17 +08:00
2026-05-16 20:47:28 +08:00