mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Repair token logic to meet declaration changes
This commit is contained in:
parent
edc1f13df8
commit
6b4368d290
@ -1385,7 +1385,7 @@ class ClearFuncs(object):
|
||||
'''
|
||||
extra = clear_load.get('kwargs', {})
|
||||
# Check for external auth calls
|
||||
if 'token' in extra:
|
||||
if extra.get('token', False):
|
||||
# A token was passwd, check it
|
||||
token = self.loadauth.get_tok(extra['token'])
|
||||
if not token:
|
||||
|
Loading…
Reference in New Issue
Block a user