Skip to content

Commit

Permalink
Merge cbda126 into 8d476f3
Browse files Browse the repository at this point in the history
  • Loading branch information
mmm29 committed Oct 15, 2022
2 parents 8d476f3 + cbda126 commit f08c55c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python_socks/_proto/socks5.py
Expand Up @@ -65,7 +65,7 @@ class AuthMethodsRequest:
def __init__(self, username: str, password: str):
auth_methods = bytearray([AuthMethod.ANONYMOUS])

if username and password:
if username:
auth_methods.append(AuthMethod.USERNAME_PASSWORD)

self.auth_methods = auth_methods
Expand Down

0 comments on commit f08c55c

Please sign in to comment.