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)
This commit is contained in:
Warren
2026-05-16 23:22:06 +08:00
parent b3074d2e42
commit 013acef5d4

Binary file not shown.