mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 03:25:52 +01:00
fix logging after return
This commit is contained in:
parent
58f73630b6
commit
ac9c244315
@ -144,8 +144,8 @@ export class CrossSigning {
|
||||
log.set({publishedMasterKey: publisedEd25519Key, derivedPublicKey});
|
||||
this._isMasterKeyTrusted = !!publisedEd25519Key && publisedEd25519Key === derivedPublicKey;
|
||||
if (!this._isMasterKeyTrusted) {
|
||||
return MSKVerification.DerivedPubKeyMismatch;
|
||||
log.set("failure", "mismatch");
|
||||
return MSKVerification.DerivedPubKeyMismatch;
|
||||
}
|
||||
return MSKVerification.Valid;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user