mirror of
https://github.com/9001/copyparty.git
synced 2026-01-13 07:51:50 +10:00
ftpd: only log invalid passwords
This commit is contained in:
@@ -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