From f2379b67d87ab57af89f85a54452f9e5ec72c06e Mon Sep 17 00:00:00 2001 From: spinline Date: Sun, 8 Feb 2026 16:11:18 +0300 Subject: [PATCH] =?UTF-8?q?docs:=20main.rs=20i=C3=A7indeki=20g=C3=BCncelli?= =?UTF-8?q?=C4=9Fini=20yitirmi=C5=9F=20=C5=9Fifre=20g=C3=BCncelleme=20yoru?= =?UTF-8?q?mu=20temizlendi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/main.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/src/main.rs b/backend/src/main.rs index 2f46fa9..5bd9a53 100644 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@ -255,9 +255,7 @@ async fn main() { } }; - // Update in DB (using a direct query since db.rs doesn't have update_password yet) - // We should add `update_password` to db.rs for cleaner code, but for now direct query is fine or we can extend Db. - // Let's extend Db.rs first to be clean. + // Update in DB if let Err(e) = db.update_password(user_id, &password_hash).await { tracing::error!("Failed to update password in DB: {}", e); std::process::exit(1);