fix: honor ssh.term
settings as default when url param sshTerm
is undefined
This commit is contained in:
parent
40f6bf232b
commit
303f53dc43
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ function handleConnection(socket, config) {
|
|||
debug(`handleAuthenticate: ${socket.id}, %O`, sanitizeObject(creds))
|
||||
|
||||
if (isValidCredentials(socket, creds)) {
|
||||
creds.term !== null && (sessionState.term = creds.term)
|
||||
creds.term !== null && (sessionState.term = creds.term) || (sessionState.term = sessionState.config.ssh.term)
|
||||
initializeConnection(socket, creds)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue