1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

Remove labs option to cache 'passphrase'

(which actually meant SSSS secrets)

Fixes https://github.com/vector-im/riot-web/issues/1392
This commit is contained in:
David Baker
2020-06-18 10:42:33 +01:00
parent 803b7bb30f
commit 54e235b0b9
3 changed files with 1 additions and 10 deletions

View File

@@ -34,10 +34,7 @@ let secretStorageBeingAccessed = false;
let passphraseOnlyOption = null;
function isCachingAllowed() {
return (
secretStorageBeingAccessed ||
SettingsStore.getValue("keepSecretStoragePassphraseForSession")
);
return secretStorageBeingAccessed;
}
export class AccessCancelledError extends Error {