mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 06:34:41 +02:00
* Rewrite SSH authentication - now works with PuTTY (thoguh there are some issues) and standard ssh. WIP still!
* Idle monitor not started until 'ready' signal
This commit is contained in:
parent
6a2d283fad
commit
e7e9746a85
4 changed files with 105 additions and 120 deletions
|
@ -197,6 +197,8 @@ function startListening() {
|
|||
|
||||
client.on('ready', function onClientReady() {
|
||||
|
||||
client.startIdleMonitor();
|
||||
|
||||
// Go to module -- use default error handler
|
||||
prepareClient(client, function onPrepared() {
|
||||
require('./connect.js').connectEntry(client);
|
||||
|
@ -219,7 +221,7 @@ function startListening() {
|
|||
});
|
||||
|
||||
client.on('idle timeout', function idleTimeout() {
|
||||
client.log.info('User idle timeout expired');
|
||||
client.log.info('User idle timeout expired');
|
||||
|
||||
client.gotoMenuModule( { name : 'idleLogoff' }, function goMenuRes(err) {
|
||||
if(err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue