Warren
7bb25bf6a9
fix: Fix demo/admin passwords and eye icon position
Critical fixes:
1. demo user password (File Tree authentication):
- Generated fresh bcrypt hash for 'demo123'
- Updated PostgreSQL users.password (60 chars)
- Updated SQLite sftpgo_users.password_hash (60 chars)
- CLI test: demo/demo123 login returns token ✅
2. admin password (Settings authentication):
- Same hash for 'demo123' (using unified password)
- Updated PostgreSQL admins.password (60 chars)
- Updated SQLite sftpgo_admins.password_hash (60 chars)
- CLI test: admin/demo123 login returns token ✅
3. Tree modal eye icon position:
- Added padding-top:24px to password container
- Eye icon now centered vertically with input field
- No longer appears too high
Test passwords:
- File Tree: demo / demo123
- Settings: admin / demo123 (unified for simplicity)
Files:
- src/page.html (line 473: padding-top:24px)
- data/auth.sqlite (password hashes updated)
2026-05-17 00:41:08 +08:00
..
2026-05-16 15:37:37 +08:00
2026-05-16 15:37:37 +08:00
2026-05-17 00:41:08 +08:00
2026-05-16 20:47:28 +08:00