mirror of
https://github.com/9001/copyparty.git
synced 2026-11-20 14:06:39 +00:00
ftpd: only log invalid passwords
This commit is contained in:
1 parent
4ee81af8f6
commit
769454fdce
1 file changed
+1
-1
+1
-1
@@ -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 "/"
|
||||
|
||||
Reference in new issue
Block a user