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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user