diff --git a/src/components/structures/auth/CompleteSecurity.js b/src/components/structures/auth/CompleteSecurity.js index 77f7fe26e4..b64f368908 100644 --- a/src/components/structures/auth/CompleteSecurity.js +++ b/src/components/structures/auth/CompleteSecurity.js @@ -40,12 +40,16 @@ export default class CompleteSecurity extends React.Component { onStartClick = async () => { const cli = MatrixClientPeg.get(); - await accessSecretStorage(async () => { - await cli.checkOwnCrossSigningTrust(); - }); - this.setState({ - phase: PHASE_DONE, - }); + try { + await accessSecretStorage(async () => { + await cli.checkOwnCrossSigningTrust(); + }); + this.setState({ + phase: PHASE_DONE, + }); + } catch (e) { + // this will throw if the user hits cancel, so ignore + } } onSkipClick = () => {