diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2019-02-19 14:01:43 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2019-02-19 14:01:43 +0800 |
commit | 0bbfb2e506acfbb176dd3fab5dfc371046ab2dc4 (patch) | |
tree | 2e5e6aa2d60b6adc03d748ff4db54c9ed1e904ae /ui/app/components/pages | |
parent | 89c43534082b920f68503eddc1dd3cc8f16aeb17 (diff) | |
download | tangerine-wallet-browser-0bbfb2e506acfbb176dd3fab5dfc371046ab2dc4.tar tangerine-wallet-browser-0bbfb2e506acfbb176dd3fab5dfc371046ab2dc4.tar.gz tangerine-wallet-browser-0bbfb2e506acfbb176dd3fab5dfc371046ab2dc4.tar.bz2 tangerine-wallet-browser-0bbfb2e506acfbb176dd3fab5dfc371046ab2dc4.tar.lz tangerine-wallet-browser-0bbfb2e506acfbb176dd3fab5dfc371046ab2dc4.tar.xz tangerine-wallet-browser-0bbfb2e506acfbb176dd3fab5dfc371046ab2dc4.tar.zst tangerine-wallet-browser-0bbfb2e506acfbb176dd3fab5dfc371046ab2dc4.zip |
Remove password check when importing Account JSON
Diffstat (limited to 'ui/app/components/pages')
-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) { |