* Message to indicate someone already logged in by username
This commit is contained in:
parent
8d1fac41a9
commit
ab40eb1fd4
|
@ -46,9 +46,14 @@ function login(callingMenu, formData, extraArgs) {
|
||||||
'Already logged in'
|
'Already logged in'
|
||||||
);
|
);
|
||||||
|
|
||||||
// :TODO: display message/art/etc.
|
// :TODO: display custom message if present
|
||||||
|
|
||||||
|
client.term.write('\nA user by that name is already logged in.\n');
|
||||||
|
|
||||||
|
setTimeout(function timeout() {
|
||||||
client.gotoMenuModule( { name : callingMenu.menuConfig.fallback } );
|
client.gotoMenuModule( { name : callingMenu.menuConfig.fallback } );
|
||||||
|
}, 500);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue