From 6b4368d290200fde0b61bc3d23fe9a0332744c9b Mon Sep 17 00:00:00 2001 From: Thomas S Hatch Date: Tue, 9 Oct 2012 12:06:14 -0600 Subject: [PATCH] Repair token logic to meet declaration changes --- salt/master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/master.py b/salt/master.py index ce44ac1c2a..119cdef8ca 100644 --- a/salt/master.py +++ b/salt/master.py @@ -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: