This commit is contained in:
Jakobus Schürz 2019-08-02 01:01:23 +02:00
parent 4497a2b71e
commit 9d50d26912

View file

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