mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix for tests: don't require 'groups' in the eauth token.
This commit is contained in:
parent
1f104cf85b
commit
3ad6911210
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ class LoadAuth(object):
|
|||
|
||||
if token:
|
||||
name = token['name']
|
||||
groups = token['groups']
|
||||
groups = token.get('groups')
|
||||
else:
|
||||
name = self.load_name(load) # The username we are attempting to auth with
|
||||
groups = self.get_groups(load) # The groups this user belongs to
|
||||
|
|
Loading…
Add table
Reference in a new issue