Fix key upload auth to test confirmation
This commit is contained in:
parent
92c0fdf085
commit
6140803b7f
1 changed files with 4 additions and 1 deletions
|
@ -56,7 +56,10 @@ export default class CrossSigningPanel extends React.PureComponent {
|
||||||
makeRequest,
|
makeRequest,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
await finished;
|
const [confirmed] = await finished;
|
||||||
|
if (!confirmed) {
|
||||||
|
throw new Error("Cross-signing key upload auth canceled");
|
||||||
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
this.setState(this._getUpdatedStatus());
|
this.setState(this._getUpdatedStatus());
|
||||||
|
|
Loading…
Reference in a new issue