ftpd: only log invalid passwords
This commit is contained in:
parent
4ee81af8f6
commit
769454fdce
@ -94,7 +94,7 @@ class FtpAuth(DummyAuthorizer):
|
|||||||
|
|
||||||
raise AuthenticationFailed("Authentication failed.")
|
raise AuthenticationFailed("Authentication failed.")
|
||||||
|
|
||||||
handler.uname = uname
|
handler.uname = handler.username = uname
|
||||||
|
|
||||||
def get_home_dir(self, username: str) -> str:
|
def get_home_dir(self, username: str) -> str:
|
||||||
return "/"
|
return "/"
|
||||||
|
Loading…
Reference in New Issue
Block a user