fixed
This commit is contained in:
parent
4497a2b71e
commit
9d50d26912
1 changed files with 2 additions and 2 deletions
|
@ -24,10 +24,10 @@ 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(cfg))
|
principals=getAllowedSSHPrincipals(config=cfg))
|
||||||
else:
|
else:
|
||||||
print TEMPLATE % dict(user=sshUser,
|
print TEMPLATE % dict(user=sshUser,
|
||||||
principals=util.getAllowedSSHPrincipals(cfg))
|
principals=util.getAllowedSSHPrincipals(config=cfg))
|
||||||
|
|
||||||
|
|
||||||
class Main(app.App):
|
class Main(app.App):
|
||||||
|
|
Loading…
Reference in a new issue