fix ssss overwrite

pull/21833/head
Zoe 2020-02-18 17:28:38 +00:00
parent 744826db48
commit 7d319bab7f
1 changed files with 1 additions and 2 deletions

View File

@ -128,13 +128,12 @@ export default class CrossSigningPanel extends React.PureComponent {
}
const enabled = (
crossSigningPublicKeysOnDevice &&
crossSigningPrivateKeysInStorage &&
secretStorageKeyInAccount
);
let summarisedStatus;
if (enabled) {
if (enabled && crossSigningPublicKeysOnDevice) {
summarisedStatus = <p> {_t(
"Cross-signing and secret storage are enabled.",
)}</p>;