fix: Fix demo user password and eye icon position

Problem 1: File Tree demo/demo123 login failed
- demo user password hash was incorrect
- PostgreSQL users.password was empty or invalid
- SQLite sftpgo_users.password_hash was empty or invalid

Solution 1:
- Generated correct bcrypt hash for 'demo123'
- Updated PostgreSQL users table (60 chars)
- Updated SQLite sftpgo_users table (60 chars)
- CLI test: demo/demo123 login now returns token 

Problem 2: Tree modal eye icon position too high
- Password container had no height specified
- Eye icon used top:50% transform, but container height undefined
- Icon appeared misaligned

Solution 2:
- Added height:40px to password container
- Eye icon now positioned correctly at vertical center

Files:
- src/page.html (eye icon container fix)
- data/auth.sqlite (demo password hash)
This commit is contained in:
Warren
2026-05-17 00:40:11 +08:00
parent b98fbf93bf
commit 683526c406
2 changed files with 1 additions and 1 deletions

Binary file not shown.