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