ftpd: only log invalid passwords

This commit is contained in:
ed 2023-05-06 19:16:52 +00:00
parent 4ee81af8f6
commit 769454fdce

View file

@ -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 "/"