From 26165e30ded40b0489ab7c43349cf35ccc51c14c Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sat, 13 Apr 2024 20:32:17 -0400 Subject: [PATCH] Fix -t auto. --- core/client.js | 5 ++++- core/core.js | 13 +++++++++++++ src/httpd.js.c | 4 ++-- src/packetstream.c | 7 ++++++- tools/autotest.py | 10 ++++++++-- 5 files changed, 33 insertions(+), 6 deletions(-) diff --git a/core/client.js b/core/client.js index 4af069b5..4d3dc87f 100644 --- a/core/client.js +++ b/core/client.js @@ -142,7 +142,9 @@ class TfNavigationElement extends LitElement { } create_identity(event) { - send({action: 'createIdentity'}); + if (confirm('Are you sure you want to create a new identity?')) { + send({action: 'createIdentity'}); + } } render_identity() { @@ -163,6 +165,7 @@ class TfNavigationElement extends LitElement { return html`