mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 20:26:19 +02:00
Merge pull request #4100 from matrix-org/foldleft/12352-ssss-overwrite
Fix bug where SSSS could be overwritten if user never cross-signs
This commit is contained in:
commit
dcc8862d4c
@ -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>;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user