mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Remove password check when importing Account JSON
This commit is contained in:
parent
89c4353408
commit
0bbfb2e506
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user