fix ssss overwrite
This commit is contained in:
parent
744826db48
commit
7d319bab7f
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue