You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
All: Security: Added way to upgrade master key encryption and sync target encryption
This commit is contained in:
@ -32,6 +32,7 @@ const defaultState = {
|
||||
sharedData: null,
|
||||
appState: 'starting',
|
||||
hasDisabledSyncItems: false,
|
||||
hasDisabledEncryptionItems: false,
|
||||
customCss: '',
|
||||
templates: [],
|
||||
collapsedFolderIds: [],
|
||||
@ -743,6 +744,11 @@ const reducer = (state = defaultState, action) => {
|
||||
newState.hasDisabledSyncItems = true;
|
||||
break;
|
||||
|
||||
case 'ENCRYPTION_HAS_DISABLED_ITEMS':
|
||||
newState = Object.assign({}, state);
|
||||
newState.hasDisabledEncryptionItems = action.value;
|
||||
break;
|
||||
|
||||
case 'CLIPPER_SERVER_SET':
|
||||
{
|
||||
newState = Object.assign({}, state);
|
||||
|
Reference in New Issue
Block a user