1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-17 17:42:41 +03:00

Add advanced option to keep secret storage in memory for session

This adds a default-off option to keep the secret storage passphrase cached in
memory for the current session to avoid death by prompts.
This commit is contained in:
J. Ryan Stinnett
2020-01-30 14:18:12 +00:00
parent 767015d19d
commit 788cb24093
4 changed files with 23 additions and 6 deletions

View File

@@ -66,6 +66,7 @@ export default class LabsUserSettingsTab extends React.Component {
<SettingsFlag name={"showHiddenEventsInTimeline"} level={SettingLevel.DEVICE} />
<SettingsFlag name={"lowBandwidth"} level={SettingLevel.DEVICE} />
<SettingsFlag name={"sendReadReceipts"} level={SettingLevel.ACCOUNT} />
<SettingsFlag name={"keepSecretStoragePassphraseForSession"} level={SettingLevel.DEVICE} />
</div>
</div>
);