Merge pull request #425 from standardnotes/004-fix-importing

fix: when importing should prompt for password if keyParams is present
This commit is contained in:
Johnny A
2020-07-06 12:18:18 -04:00
committed by GitHub

View File

@@ -382,7 +382,7 @@ class AccountMenuCtrl extends PureViewCtrl {
if (!data) {
return;
}
if (data.auth_params) {
if (data.auth_params || data.keyParams) {
await this.setState({
importData: {
...this.getState().importData,