This commit is contained in:
Manuel 2018-01-02 17:43:53 +01:00
parent 12b0db07da
commit 26c0bb8b1a

2
ssh.go
View file

@ -96,7 +96,7 @@ func channelHandler(srv *ssh.Server, conn *gossh.ServerConn, newChan gossh.NewCh
}
actx := ctx.Value(authContextKey).(*authContext)
logs_locations := ctx.Value("logs-location").(*authContext)
logs_location := actx.globalContext.String("logs-location")
switch actx.userType() {
case UserTypeBastion: