From 0bbfb2e506acfbb176dd3fab5dfc371046ab2dc4 Mon Sep 17 00:00:00 2001 From: Chi Kei Chan Date: Mon, 18 Feb 2019 22:01:43 -0800 Subject: [PATCH] Remove password check when importing Account JSON --- .../components/pages/create-account/import-account/json.js | 5 ----- 1 file changed, 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) {