From 406c78c5fa17caa085f1fc3ef1be4605cce487c5 Mon Sep 17 00:00:00 2001 From: silverpill Date: Sun, 3 Jul 2022 20:07:02 +0000 Subject: [PATCH] Ask confirmation before verifying wallet address --- src/views/Profile.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/Profile.vue b/src/views/Profile.vue index 9e9868d..91e34a5 100644 --- a/src/views/Profile.vue +++ b/src/views/Profile.vue @@ -381,6 +381,9 @@ export default class ProfileView extends Vue { if (!this.profile || !this.isCurrentUser()) { return } + if (!confirm("This action will link your wallet address to your profile. Continue?")) { + return + } const signer = await getWallet() if (!signer) { return