Skip to content

Commit

Permalink
fixes sso
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Jan 23, 2024
1 parent 670b6ce commit 1768532
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wikibot3rd/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.10.2"
__version__ = "0.10.3"
2 changes: 1 addition & 1 deletion wikibot3rd/sso.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def check_credentials(self, username: str, password: str) -> bool:
user=self.get_user(username)
if user:
stored_hash = user.password
is_valid = self.verify_password(password, stored_hash.decode("utf-8"))
is_valid = self.verify_password(password, stored_hash)
elif self.debug:
print(
f"Username {username} not found in {self.database} on {self.host}"
Expand Down

0 comments on commit 1768532

Please sign in to comment.