diff --git a/package.json b/package.json
index d8eb6b4..3fc1e08 100644
--- a/package.json
+++ b/package.json
@@ -11,6 +11,7 @@
"dependencies": {
"path": "^0.12.7",
"pinia": "^2.1.7",
+ "supertokens-web-js": "^0.8.0",
"vue": "^3.3.8",
"vue-command": "^35.2.1",
"vue-cookie-law": "github:elasticdotventures/vue-cookie-law",
diff --git a/public/config.json b/public/config.json
new file mode 100644
index 0000000..bbaded2
--- /dev/null
+++ b/public/config.json
@@ -0,0 +1,3 @@
+{
+ "SUPERTOKEN_BACKEND_URL": "http://localhost:3567"
+}
diff --git a/src/components/CommandLineInterface.vue b/src/components/CommandLineInterface.vue
index ff7fb46..2f7c1a2 100644
--- a/src/components/CommandLineInterface.vue
+++ b/src/components/CommandLineInterface.vue
@@ -11,13 +11,15 @@ const commands = {
"help": () => createStdout("Available commands: hello, login, debug"),
"login": () => {
mainStore.toggleLogin();
- return createStdout("Login interface activated.");
- },
+ const status = mainStore.showLogin ? "Activated" : "Disabled";
+ return createStdout(`Login interface ${status}.`);
+ },
"hello": () => createStdout("Hello world! #wip"),
"debug": () => {
mainStore.toggleDebugPanel();
- return createStdout("Debug panel activated.");
- },
+ const status = mainStore.showDebugPanel ? "Activated" : "Disabled";
+ return createStdout(`Debug panel ${status}.`);
+ },
};
diff --git a/src/components/DebugPanel.vue b/src/components/DebugPanel.vue
index 9ab6923..ad0ee20 100644
--- a/src/components/DebugPanel.vue
+++ b/src/components/DebugPanel.vue
@@ -1,16 +1,20 @@
-
-
{{ state }}
+
🕵️ Secret Debuggin Panel
+
{{ formattedState }}