Warren
013acef5d4
fix: Set admin password with correct bcrypt hash
Problem: Admin password fields were empty (length=0)
- PostgreSQL admins.password = ''
- SQLite sftpgo_admins.password_hash = ''
Solution:
- Generated bcrypt hash for 'admin123' using project dependencies
- Updated PostgreSQL admins.password (60 chars)
- Updated SQLite sftpgo_admins.password_hash (60 chars)
- Restarted server to refresh in-memory cache
Test result:
✅ Admin login returns token successfully
Password: admin123
Algorithm: bcrypt (DEFAULT_COST=10)
2026-05-16 23:22:06 +08:00
..
2026-05-16 15:37:37 +08:00
2026-05-16 15:37:37 +08:00
2026-05-16 23:22:06 +08:00
2026-05-16 20:47:28 +08:00