aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan J Miller <danjm.com@gmail.com>2019-02-20 08:29:17 +0800
committerGitHub <noreply@github.com>2019-02-20 08:29:17 +0800
commitcbcaf87998db077bb6aa8703214ebee9a0f0541b (patch)
tree18ea2bad54d434047647dba4b7db1c60f31ecf18 /ui
parent641f7c8f4b33ee7b71c90a9146fb8a9035fe097b (diff)
parent0bbfb2e506acfbb176dd3fab5dfc371046ab2dc4 (diff)
downloadtangerine-wallet-browser-cbcaf87998db077bb6aa8703214ebee9a0f0541b.tar
tangerine-wallet-browser-cbcaf87998db077bb6aa8703214ebee9a0f0541b.tar.gz
tangerine-wallet-browser-cbcaf87998db077bb6aa8703214ebee9a0f0541b.tar.bz2
tangerine-wallet-browser-cbcaf87998db077bb6aa8703214ebee9a0f0541b.tar.lz
tangerine-wallet-browser-cbcaf87998db077bb6aa8703214ebee9a0f0541b.tar.xz
tangerine-wallet-browser-cbcaf87998db077bb6aa8703214ebee9a0f0541b.tar.zst
tangerine-wallet-browser-cbcaf87998db077bb6aa8703214ebee9a0f0541b.zip
Merge pull request #6185 from chikeichan/5681
Remove password check when importing Account JSON
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/pages/create-account/import-account/json.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/ui/app/components/pages/create-account/import-account/json.js b/ui/app/components/pages/create-account/import-account/json.js
index bb6771e4d..8bb6e154b 100644
--- a/ui/app/components/pages/create-account/import-account/json.js
+++ b/ui/app/components/pages/create-account/import-account/json.js
@@ -104,11 +104,6 @@ class JsonImportSubview extends Component {
const passwordInput = document.getElementById('json-password-box')
const password = passwordInput.value
- if (!password) {
- const message = this.context.t('needImportPassword')
- return displayWarning(message)
- }
-
importNewJsonAccount([ fileContents, password ])
.then(({ selectedAddress }) => {
if (selectedAddress) {