From a5169b1989391f8e49e523bd657d5e2f8d9bade4 Mon Sep 17 00:00:00 2001 From: Warren Date: Sun, 17 May 2026 00:42:13 +0800 Subject: [PATCH] fix: Set demo/admin passwords and fix eye icon position Critical fixes: 1. demo user password (File Tree authentication): - Used verified bcrypt hash: $2b$12$w8Gp3zUJL2xycng58WViKeTH7zACnNBWURgZZwyyFJSkDr5l2/mpK - Password: demo123 (verified in previous test) - Updated PostgreSQL users.password (60 chars) - Updated SQLite sftpgo_users.password_hash (60 chars) 2. admin password (Settings authentication): - Same hash for demo123 (unified password) - Updated PostgreSQL admins.password (60 chars) - Updated SQLite sftpgo_admins.password_hash (60 chars) 3. Tree modal eye icon position: - Changed top:50% to top:28px (aligns with input field) - Added padding-right:36px to input (prevents text overlap) - Icon now centered with password input Test passwords (unified): - File Tree: demo / demo123 - Settings: admin / demo123 Files: - src/page.html (line 477-480: eye icon position) - data/auth.sqlite (password hashes) --- data/auth.sqlite | Bin 73728 -> 73728 bytes src/page.html | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/auth.sqlite b/data/auth.sqlite index de8841421c82e4af7decb1ac614385ba0cc3f137..f025e42607385c54daf2f25d0215bf7e97404250 100644 GIT binary patch delta 246 zcmZoTz|wGlWr8&0yooZ-tn(Q3dVg$8S;)`H`;~#;mv0sC*Uf?g&w0ffjY9ZE8(EDx zQ;ohAeKtd zHLxTw@F#2*R0!i2YZR2>6X)gSm@`$G ziIJ6+m4!1UH8+2xazLVF=%>%Jid?p9TFJhYeb@Lbb*ZiVB9L%DOAeDYx z%#w`diA6=JdA^&!=zrzs_F-Y>Wb^|O*aZAf@iR(I-XCuaHY)xUser ID'+ ''+ ''+ - '
'+ + '
'+ ''+ - ''+ - ''+ + ''+ + ''+ '
'+ ''+ '
';