diff options
author | Dan J Miller <danjm.com@gmail.com> | 2019-02-20 08:29:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-20 08:29:17 +0800 |
commit | cbcaf87998db077bb6aa8703214ebee9a0f0541b (patch) | |
tree | 18ea2bad54d434047647dba4b7db1c60f31ecf18 /ui/app | |
parent | 641f7c8f4b33ee7b71c90a9146fb8a9035fe097b (diff) | |
parent | 0bbfb2e506acfbb176dd3fab5dfc371046ab2dc4 (diff) | |
download | tangerine-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/app')
-rw-r--r-- | ui/app/components/pages/create-account/import-account/json.js | 5 |
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) { |