From 769454fdceeb0b2b894fc96847227b9bc4c7211b Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 6 May 2023 19:16:52 +0000 Subject: [PATCH] ftpd: only log invalid passwords --- copyparty/ftpd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyparty/ftpd.py b/copyparty/ftpd.py index 024beed5..caa17781 100644 --- a/copyparty/ftpd.py +++ b/copyparty/ftpd.py @@ -94,7 +94,7 @@ class FtpAuth(DummyAuthorizer): raise AuthenticationFailed("Authentication failed.") - handler.uname = uname + handler.uname = handler.username = uname def get_home_dir(self, username: str) -> str: return "/"