util fixed
This commit is contained in:
parent
9d50d26912
commit
42c5352406
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ def serve_principal(sshUser, principals):
|
||||||
if '@' in sshUser:
|
if '@' in sshUser:
|
||||||
for user in [ sshUser, sshUser.split('@')[0] ]:
|
for user in [ sshUser, sshUser.split('@')[0] ]:
|
||||||
print TEMPLATE % dict(user=user,
|
print TEMPLATE % dict(user=user,
|
||||||
principals=getAllowedSSHPrincipals(config=cfg))
|
principals=util.getAllowedSSHPrincipals(config=cfg))
|
||||||
else:
|
else:
|
||||||
print TEMPLATE % dict(user=sshUser,
|
print TEMPLATE % dict(user=sshUser,
|
||||||
principals=util.getAllowedSSHPrincipals(config=cfg))
|
principals=util.getAllowedSSHPrincipals(config=cfg))
|
||||||
|
|
Loading…
Reference in a new issue