mirror of
https://github.com/moul/sshportal.git
synced 2025-03-09 22:06:34 +08:00
typo
This commit is contained in:
parent
12b0db07da
commit
26c0bb8b1a
1 changed files with 1 additions and 1 deletions
2
ssh.go
2
ssh.go
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue