You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Fix key upload auth to test confirmation
This commit is contained in:
@@ -56,7 +56,10 @@ export default class CrossSigningPanel extends React.PureComponent {
|
||||
makeRequest,
|
||||
},
|
||||
);
|
||||
await finished;
|
||||
const [confirmed] = await finished;
|
||||
if (!confirmed) {
|
||||
throw new Error("Cross-signing key upload auth canceled");
|
||||
}
|
||||
},
|
||||
});
|
||||
this.setState(this._getUpdatedStatus());
|
||||
|
||||
Reference in New Issue
Block a user