refactor: Update socket.js to use consistent naming for allowReplay and allowReauth options
This commit is contained in:
parent
c887a64f83
commit
27e79df8b1
1 changed files with 2 additions and 0 deletions
|
@ -83,7 +83,9 @@ function handleConnection(socket, config) {
|
|||
conn.on('ready', () => {
|
||||
console.log(`SSH CONNECTION READY: ${socket.id}`)
|
||||
socket.emit('auth_result', { success: true })
|
||||
console.log('allowReplay:', config.options.allowReplay)
|
||||
socket.emit('allowReplay', config.options.allowReplay || false)
|
||||
console.log('allowReauth:', config.options.allowReauth)
|
||||
socket.emit('allowReauth', config.options.allowReauth || false)
|
||||
setupSSHListeners(socket, creds)
|
||||
initializeShell(socket, creds)
|
||||
|
|
Loading…
Reference in a new issue