long username removed
This commit is contained in:
parent
648319b634
commit
3f9ba857d3
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ def serve_principal(cfg, sshUser, principals):
|
|||
+'no-X11-forwarding,no-agent-forwarding,no-pty %(principals)s')
|
||||
|
||||
if '@' in sshUser:
|
||||
for user in [ sshUser, sshUser.split('@')[0] ]:
|
||||
for user in [ sshUser.split('@')[0] ]:
|
||||
print TEMPLATE % dict(user=user,
|
||||
principals=util.getAllowedSSHPrincipals(config=cfg))
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue