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`