Repair token logic to meet declaration changes

This commit is contained in:
Thomas S Hatch 2012-10-09 12:06:14 -06:00
parent edc1f13df8
commit 6b4368d290

View File

@ -1385,7 +1385,7 @@ class ClearFuncs(object):
''' '''
extra = clear_load.get('kwargs', {}) extra = clear_load.get('kwargs', {})
# Check for external auth calls # Check for external auth calls
if 'token' in extra: if extra.get('token', False):
# A token was passwd, check it # A token was passwd, check it
token = self.loadauth.get_tok(extra['token']) token = self.loadauth.get_tok(extra['token'])
if not token: if not token: