mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
only pull eauth value from the token object
This commit is contained in:
parent
6497cb870e
commit
b2685cd554
@ -1778,7 +1778,7 @@ class ClearFuncs(object):
|
||||
log.warning('Authentication failure of type "token" occurred.')
|
||||
return ''
|
||||
good = self.ckminions.runner_check(
|
||||
self.opts['external_auth'][clear_load['eauth']][token['name']] if token['name'] in self.opts['external_auth'][clear_load['eauth']] else self.opts['external_auth'][token['eauth']]['*'],
|
||||
self.opts['external_auth'][token['eauth']][token['name']] if token['name'] in self.opts['external_auth'][token['eauth']] else self.opts['external_auth'][token['eauth']]['*'],
|
||||
clear_load['fun'])
|
||||
if not good:
|
||||
msg = ('Authentication failure of type "eauth" occurred for '
|
||||
|
Loading…
Reference in New Issue
Block a user