Skip to content

Commit 37dd934

Browse files
committed
fix credential validation to require both steam-id and steam-key
1 parent 2b71bae commit 37dd934

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ def all_required_credentials_available():
2929
3030
:returns: A boolean, true if the steam-id and steam-key add-on settings were set.
3131
"""
32-
return __addon__.getSetting('steam-id') != '' or __addon__.getSetting('steam-key') != ''
32+
return __addon__.getSetting('steam-id') != '' and __addon__.getSetting('steam-key') != ''

0 commit comments

Comments
 (0)