util fixed

This commit is contained in:
Jakobus Schürz 2019-08-02 01:02:21 +02:00
parent 9d50d26912
commit 42c5352406

View file

@ -24,7 +24,7 @@ def serve_principal(sshUser, principals):
if '@' in sshUser:
for user in [ sshUser, sshUser.split('@')[0] ]:
print TEMPLATE % dict(user=user,
principals=getAllowedSSHPrincipals(config=cfg))
principals=util.getAllowedSSHPrincipals(config=cfg))
else:
print TEMPLATE % dict(user=sshUser,
principals=util.getAllowedSSHPrincipals(config=cfg))