Merge pull request #4100 from matrix-org/foldleft/12352-ssss-overwrite
Fix bug where SSSS could be overwritten if user never cross-signspull/21833/head
commit
dcc8862d4c
|
@ -128,13 +128,12 @@ export default class CrossSigningPanel extends React.PureComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
const enabled = (
|
const enabled = (
|
||||||
crossSigningPublicKeysOnDevice &&
|
|
||||||
crossSigningPrivateKeysInStorage &&
|
crossSigningPrivateKeysInStorage &&
|
||||||
secretStorageKeyInAccount
|
secretStorageKeyInAccount
|
||||||
);
|
);
|
||||||
|
|
||||||
let summarisedStatus;
|
let summarisedStatus;
|
||||||
if (enabled) {
|
if (enabled && crossSigningPublicKeysOnDevice) {
|
||||||
summarisedStatus = <p>✅ {_t(
|
summarisedStatus = <p>✅ {_t(
|
||||||
"Cross-signing and secret storage are enabled.",
|
"Cross-signing and secret storage are enabled.",
|
||||||
)}</p>;
|
)}</p>;
|
||||||
|
|
Loading…
Reference in New Issue