Skip to content

Commit

Permalink
Fix honeycred encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
jayjb committed Jun 30, 2022
1 parent a477af1 commit 3fd3f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opencanary/honeycred.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def testCred(cred, username=None, password=None):

user_match = True
if cred_username is not None:
user_match = (cred_username == username)
user_match = (cred_username.encode() == username)

password_match = True
if cred_password is not None:
Expand Down

0 comments on commit 3fd3f08

Please sign in to comment.