From d31d5255b57f2f9b6f6f5ee96efa661818002092 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=BDiga=20Kokelj?= Date: Mon, 18 Sep 2023 17:02:45 +0200 Subject: [PATCH] remove displaying userID --- tools/walletextension/api/staticOG/index.html | 1 - tools/walletextension/api/staticOG/javascript.js | 4 ---- 2 files changed, 5 deletions(-) diff --git a/tools/walletextension/api/staticOG/index.html b/tools/walletextension/api/staticOG/index.html index 4005cd4178..a0d5c0730c 100644 --- a/tools/walletextension/api/staticOG/index.html +++ b/tools/walletextension/api/staticOG/index.html @@ -18,7 +18,6 @@

◠. Obscuro Gateway Demo! ◠.

-

diff --git a/tools/walletextension/api/staticOG/javascript.js b/tools/walletextension/api/staticOG/javascript.js index 9299a9fe07..c088431496 100644 --- a/tools/walletextension/api/staticOG/javascript.js +++ b/tools/walletextension/api/staticOG/javascript.js @@ -202,7 +202,6 @@ const initialize = async () => { const addAllAccountsButton = document.getElementById(idAddAllAccounts); const revokeUserIDButton = document.getElementById(idRevokeUserID); const statusArea = document.getElementById(idStatus); - const userIDArea = document.getElementById(idUserID); const accountsTable = document.getElementById('accountsTable') const tableBody = document.getElementById('tableBody'); @@ -212,7 +211,6 @@ const initialize = async () => { // check if userID exists and has a correct type and length (is valid) and display either // option to join or to add a new account to existing user if (isValidUserIDFormat(userID)) { - userIDArea.innerText = "Your userID is: " + userID joinButton.style.display = "none" addAccountButton.style.display = "block" addAllAccountsButton.style.display = "block" @@ -250,7 +248,6 @@ const initialize = async () => { return } statusArea.innerText = "Successfully joined Obscuro Gateway"; - userIDArea.innerText = "Your userID is: " + userID // show users an option to add another account and revoke userID addAccountButton.style.display = "block" addAllAccountsButton.style.display = "block" @@ -310,7 +307,6 @@ const initialize = async () => { joinButton.style.display = "block"; revokeUserIDButton.style.display = "none"; addAllAccountsButton.style.display = "none"; - userIDArea.innerText = ""; statusArea.innerText = "Revoking UserID successful. Please remove current network from Metamask." addAccountButton.style.display = "none"; accountsTable.style.display = "none"