mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +08:00
Merge pull request #3917 from matrix-org/dbkr/complete_security_detect_success
Only say the session is verified if it is now verified
This commit is contained in:
commit
81caa12b16
@ -44,9 +44,12 @@ export default class CompleteSecurity extends React.Component {
|
||||
await accessSecretStorage(async () => {
|
||||
await cli.checkOwnCrossSigningTrust();
|
||||
});
|
||||
|
||||
if (cli.getCrossSigningId()) {
|
||||
this.setState({
|
||||
phase: PHASE_DONE,
|
||||
});
|
||||
}
|
||||
} catch (e) {
|
||||
// this will throw if the user hits cancel, so ignore
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user