update toml docfile
This commit is contained in:
parent
8ffc30797a
commit
52d344c6e9
|
@ -98,16 +98,7 @@ function askForConfig(state, mainCb) {
|
||||||
var firstSet = [
|
var firstSet = [
|
||||||
function askEmail(cb) {
|
function askEmail(cb) {
|
||||||
if (state.config.email) { cb(); return; }
|
if (state.config.email) { cb(); return; }
|
||||||
//console.info("");
|
console.info(TPLS.remote.setup.email);
|
||||||
console.info("Welcome!");
|
|
||||||
console.info("");
|
|
||||||
console.info("By using Telebit you agree to:");
|
|
||||||
console.info("");
|
|
||||||
console.info(" [x] Accept the Telebit™ terms of service");
|
|
||||||
console.info(" [x] Accept the Let's Encrypt™ terms of service");
|
|
||||||
console.info("");
|
|
||||||
console.info("Enter your email to agree and login/create your account:");
|
|
||||||
console.info("");
|
|
||||||
// TODO attempt to read email from npmrc or the like?
|
// TODO attempt to read email from npmrc or the like?
|
||||||
rl.question('email: ', function (email) {
|
rl.question('email: ', function (email) {
|
||||||
email = /@/.test(email) && email.trim();
|
email = /@/.test(email) && email.trim();
|
||||||
|
|
|
@ -452,5 +452,29 @@ The secret flags are:
|
||||||
[remote]
|
[remote]
|
||||||
version = "telebit remote v{version}"
|
version = "telebit remote v{version}"
|
||||||
|
|
||||||
|
code = "
|
||||||
|
==============================================
|
||||||
|
Hey, Listen!
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
GO CHECK YOUR EMAIL!
|
||||||
|
|
||||||
|
DEVICE PAIR CODE: 0000
|
||||||
|
|
||||||
|
==============================================
|
||||||
|
"
|
||||||
|
|
||||||
|
[remote.setup]
|
||||||
|
|
||||||
|
email = "Welcome!
|
||||||
|
|
||||||
|
By using Telebit you agree to:
|
||||||
|
|
||||||
|
[x] Accept the Telebit™ terms of service
|
||||||
|
[x] Accept the Let's Encrypt™ terms of service
|
||||||
|
|
||||||
|
Enter your email to agree and login/create your account:
|
||||||
|
"
|
||||||
|
|
||||||
[daemon]
|
[daemon]
|
||||||
version = "telebit daemon v{version}"
|
version = "telebit daemon v{version}"
|
||||||
|
|
Loading…
Reference in New Issue