fix: Use correct bcrypt hash for admin password

Critical fix:
- Generated correct bcrypt hash using test framework
- Hash: $2b$12$w8Gp3zUJL2xycng58WViKeTH7zACnNBWURgZZwyyFJSkDr5l2/mpK (60 chars)
- Password: admin123
- Test verify result: true 

Database updates:
- PostgreSQL admins.password (60 chars)
- SQLite sftpgo_admins.password_hash (60 chars)

Test result:
 Admin login returns valid token
 Token expires in 24 hours

Problem solved:
- Previous hashes were incorrect
- bcrypt::verify() now returns true

Files:
- data/auth.sqlite
This commit is contained in:
Warren
2026-05-16 23:25:36 +08:00
parent 3fcfaa6aab
commit cc18d9e6e0

Binary file not shown.