Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Devices check: say where the relay sign-in is and that it is not Your account

AdityaUmale9d85063941b6
diff --git a/src/lib/remote-access-diagnosis.test.ts b/src/lib/remote-access-diagnosis.test.ts
index 7f533e2773..68c4bbafb1 100644
--- a/src/lib/remote-access-diagnosis.test.ts
+++ b/src/lib/remote-access-diagnosis.test.ts
@@ -48,7 +48,10 @@ describe("the remote access diagnosis", () => {
});
it("asks to sign in when signed out, or when the relay refused this computer's sign-in", () => {
- expect(diagnoseRemoteAccess({ account: { available: true, status: "signed-out" }, companion: companion() }).headline).toBe("Not signed in.");
+ const signedOut = diagnoseRemoteAccess({ account: { available: true, status: "signed-out" }, companion: companion() });
+ expect(signedOut.headline).toBe("Not signed in.");
+ // The relay's sign-in is not "Your account": the next step says where it is.
+ expect(signedOut.next).toEqual(["Sign in under Anywhere, through MausBot in Phone & devices. It is a separate sign-in from Your account."]);
const refused = diagnoseRemoteAccess({ account: signedIn, companion: companion({ relayToken: { state: "waiting", code: "sign_in" }, e2e: { enabled: true, relay: "off", node: null, descriptor: null } }) });
expect(refused.headline).toBe("This computer's sign-in was not accepted.");
expect(refused.next).toEqual(["MausBot asks again on its own within the hour, or as soon as you pair a phone."]);
diff --git a/src/locales/en.json b/src/locales/en.json
index 0f63876c71..306d833bfb 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -10876,7 +10876,7 @@
"remote.diagnosis.route.off": "No way in is on.",
"remote.diagnosis.next.internet": "Check this computer's internet connection. {app} tries again on its own.",
"remote.diagnosis.next.vpn": "A VPN or firewall on this computer can block {app} Relay.",
- "remote.diagnosis.next.signIn": "Sign in again.",
+ "remote.diagnosis.next.signIn": "Sign in under Anywhere, through {app} in Phone & devices. It is a separate sign-in from Your account.",
"remote.diagnosis.next.wait": "Wait a few minutes. {app} tries again on its own.",
"remote.diagnosis.next.removeComputer": "Remove a computer you no longer use from your account, then try again.",
"remote.diagnosis.next.update": "Update {app}, then try again.",
diff --git a/src/locales/it.json b/src/locales/it.json
index 6ba0e6a3e0..9135e79478 100644
--- a/src/locales/it.json
+++ b/src/locales/it.json
@@ -10779,7 +10779,7 @@
"remote.diagnosis.route.off": "Nessuna modalità di accesso è attiva.",
"remote.diagnosis.next.internet": "Controlla la connessione internet di questo computer. {app} riprova da solo.",
"remote.diagnosis.next.vpn": "Una VPN o un firewall su questo computer possono bloccare {app} Relay.",
- "remote.diagnosis.next.signIn": "Accedi di nuovo.",
+ "remote.diagnosis.next.signIn": "Accedi da Ovunque, tramite {app} in Telefono e dispositivi. È un accesso separato da Il tuo account.",
"remote.diagnosis.next.wait": "Attendi qualche minuto. {app} riprova da solo.",
"remote.diagnosis.next.removeComputer": "Rimuovi dall'account un computer che non usi più, poi riprova.",
"remote.diagnosis.next.update": "Aggiorna {app}, poi riprova.",
diff --git a/src/locales/pt-br.json b/src/locales/pt-br.json
index b8d7a940c6..ebac40edb8 100644
--- a/src/locales/pt-br.json
+++ b/src/locales/pt-br.json
@@ -10795,7 +10795,7 @@
"remote.diagnosis.route.off": "Nenhuma forma de acesso está ligada.",
"remote.diagnosis.next.internet": "Verifique a conexão com a internet deste computador. O {app} tenta novamente sozinho.",
"remote.diagnosis.next.vpn": "Uma VPN ou um firewall neste computador pode bloquear o {app} Relay.",
- "remote.diagnosis.next.signIn": "Faça login novamente.",
+ "remote.diagnosis.next.signIn": "Entre em De qualquer lugar, pelo {app} em Celular e dispositivos. É um login separado de Sua conta.",
"remote.diagnosis.next.wait": "Aguarde alguns minutos. O {app} tenta novamente sozinho.",
"remote.diagnosis.next.removeComputer": "Remova da sua conta um computador que você não usa mais e tente novamente.",
"remote.diagnosis.next.update": "Atualize o {app} e tente novamente.",
diff --git a/src/locales/source-hashes.json b/src/locales/source-hashes.json
index 5c5fd76e19..dc8514e667 100644
--- a/src/locales/source-hashes.json
+++ b/src/locales/source-hashes.json
@@ -38424,7 +38424,7 @@
"remote.diagnosis.route.off": "99324fc993326be5704c454aca91267bb8f947ca98d2d894d502d2be68027990",
"remote.diagnosis.next.internet": "aa349028c6a2966a26328918841ae068238bccedac27ab95fe4a343aa26f4121",
"remote.diagnosis.next.vpn": "b7579baafb4650a7ab498b4075cf01c9341b7e4447ca26069e181702774d7ae4",
- "remote.diagnosis.next.signIn": "e30c2ec3ce0121a59e7bb72307796514602c68cbf87d50b9962ee8d5a4bfbac7",
+ "remote.diagnosis.next.signIn": "cf02186cdb05d8255b79c71fd7b1255637572867842af43afe313e556ebead25",
"remote.diagnosis.next.wait": "0482e591ccc3fb605242699116d7015d7625542602fad9d7ba9960bd45cb61d2",
"remote.diagnosis.next.removeComputer": "30539a6f28cbe92780996949673caefcb194788a9360b609fa263cfa259e5125",
"remote.diagnosis.next.update": "41d10c5e32b5d9a4271ae0bafc19bfdbe1aab6cf82059c9bb9d07d4c70ed42f7",
@@ -103905,7 +103905,7 @@
"remote.diagnosis.route.off": "99324fc993326be5704c454aca91267bb8f947ca98d2d894d502d2be68027990",
"remote.diagnosis.next.internet": "aa349028c6a2966a26328918841ae068238bccedac27ab95fe4a343aa26f4121",
"remote.diagnosis.next.vpn": "b7579baafb4650a7ab498b4075cf01c9341b7e4447ca26069e181702774d7ae4",
- "remote.diagnosis.next.signIn": "e30c2ec3ce0121a59e7bb72307796514602c68cbf87d50b9962ee8d5a4bfbac7",
+ "remote.diagnosis.next.signIn": "cf02186cdb05d8255b79c71fd7b1255637572867842af43afe313e556ebead25",
"remote.diagnosis.next.wait": "0482e591ccc3fb605242699116d7015d7625542602fad9d7ba9960bd45cb61d2",
"remote.diagnosis.next.removeComputer": "30539a6f28cbe92780996949673caefcb194788a9360b609fa263cfa259e5125",
"remote.diagnosis.next.update": "41d10c5e32b5d9a4271ae0bafc19bfdbe1aab6cf82059c9bb9d07d4c70ed42f7",