Closed MaxPleaner closed 8 years ago
It's not really clear how to implement this. The example given is users: { "hello": "world" } and it's not clear how passwords / usernames correspond.
users: { "hello": "world" }
I looked at the config.js source and tried the syntax users: { "username": "max", "password": "secret" }.
config.js
users: { "username": "max", "password": "secret" }
Then tried running tty.js, but instead of a server starting, the script just returns with no output.
tty.js
Closing, is duplicate of https://github.com/chjj/tty.js/issues/144
It's not really clear how to implement this. The example given is
users: { "hello": "world" }
and it's not clear how passwords / usernames correspond.I looked at the
config.js
source and tried the syntaxusers: { "username": "max", "password": "secret" }
.Then tried running
tty.js
, but instead of a server starting, the script just returns with no output.