From 7bb25bf6a9e8049766724e752177a0509f6b621a Mon Sep 17 00:00:00 2001 From: Warren Date: Sun, 17 May 2026 00:41:08 +0800 Subject: [PATCH] fix: Fix demo/admin passwords and eye icon position MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- data/auth.sqlite | Bin 73728 -> 73728 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/data/auth.sqlite b/data/auth.sqlite index 07644c276e59132cf95f0499e3e46c8880e031aa..de8841421c82e4af7decb1ac614385ba0cc3f137 100644 GIT binary patch delta 205 zcmZoTz|wGlWr8&0q=_=ljFUDdEam6qGiKoTm@`$GiIJ6+ zm4!1UH8+2xazLVF=%>%Jid?p9TFJhYeb@Lbb*ZiVB9L%DOAeDYx%#w`d ziA6=JdA^&!=zrzs_F-Y>Wb^|O*aZAf@iR(I-XCuaHY)x-=*Id4#-kq5tMBdalIsxlKJ zD=RAtXG&^rzKT(zilKo@xpSbiLAiTSs-AvPW_e;{R(Mo|d1|4jzI%E~q-$PQM1F*2 zZls}$Q)ym`c}7@yrkPoe*<^RQMAnJYjSB9Q*UHTUu~gh92gomCnkc>bi~MVTQ8x}| zQAUt09$d_ljOB?%MX7o2o4@FP<>z)|VdiA?01?;({7>;SN=)7#Zwxjn{y&hn`AfcG aKTuHZ{~560e~{qzFZ_)E`FSN6kN^M#LQ&ZO