From 389f0fd45e4f7173a8be3c71c5b9d7441ebe1179 Mon Sep 17 00:00:00 2001 From: Myron Blair Date: Mon, 1 Jun 2026 03:55:52 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20new=20standalone=20login.html=20?= =?UTF-8?q?=E2=80=94=20script=20in=20=20bypasses=20all=20Rocket=20Lo?= =?UTF-8?q?ader=20issues;=20index.html=20redirects=20to=20login.html=20whe?= =?UTF-8?q?n=20unauthenticated?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public_html/index.html | 4 +- public_html/login.html | 172 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 175 insertions(+), 1 deletion(-) create mode 100644 public_html/login.html diff --git a/public_html/index.html b/public_html/index.html index d2effe6..40621f9 100644 --- a/public_html/index.html +++ b/public_html/index.html @@ -959,7 +959,7 @@ window.addEventListener("load", () => { initVoice(); loadVoices(); - // Check if already logged in + // Check if already logged in; send to login.html if not const saved = sessionStorage.getItem('jarvis_token'); const autoReload = sessionStorage.getItem('jarvis_autoreload') === '1'; sessionStorage.removeItem('jarvis_autoreload'); @@ -967,6 +967,8 @@ window.addEventListener("load", () => { sessionToken = saved; sessionUser = sessionStorage.getItem('jarvis_user') || ''; showApp(sessionUser, null, autoReload); + } else { + window.location.replace('/login.html'); } }); diff --git a/public_html/login.html b/public_html/login.html new file mode 100644 index 0000000..472dc5f --- /dev/null +++ b/public_html/login.html @@ -0,0 +1,172 @@ + + + + + +JARVIS — Authentication + + + + + + + + + +
+ +
+
+
+
+
+
+
+
+
+

JARVIS

+

Just A Rather Very Intelligent System

+
+ + + +
+
+
+ +