Skip to content

Commit

Permalink
ksushy: check both user and password when enabling auth
Browse files Browse the repository at this point in the history
  • Loading branch information
karmab committed May 8, 2024
1 parent 7b4f47c commit c20ce0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kvirt/ksushy/__init__.py
Expand Up @@ -25,7 +25,7 @@ def credentials(user, password):
return True
elif user is None or password is None:
return False
elif user == default_user or password == default_password:
elif user == default_user and password == default_password:
return True
else:
return False
Expand Down

0 comments on commit c20ce0e

Please sign in to comment.