From b2685cd554dc7c0ba4ea8f8735151c4706327034 Mon Sep 17 00:00:00 2001 From: Thomas S Hatch Date: Mon, 12 Aug 2013 11:07:35 -0600 Subject: [PATCH] only pull eauth value from the token object --- salt/master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/master.py b/salt/master.py index 0492a41968..45dcceec5f 100644 --- a/salt/master.py +++ b/salt/master.py @@ -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 '