mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 00:12:39 +00:00
fix: per-account isolation encryptionAtRest
This commit is contained in:
@@ -627,7 +627,7 @@ export const useAccountSecurityStore = create<AccountSecurityState>()((set, get)
|
||||
try {
|
||||
const accountId = getPrimaryAccountId();
|
||||
const queryResponses = await stalwartJmap([
|
||||
['x:PublicKey/query', { filter: { accountId } }, '0'],
|
||||
['x:PublicKey/query', { accountId }, '0'],
|
||||
]);
|
||||
|
||||
const queryResult = requireResult<{ ids: string[] }>(queryResponses, 'x:PublicKey/query');
|
||||
@@ -740,6 +740,8 @@ export const useAccountSecurityStore = create<AccountSecurityState>()((set, get)
|
||||
otpEnabled: false,
|
||||
appPasswords: [],
|
||||
apiKeys: [],
|
||||
publicKeys: [],
|
||||
isLoadingPublicKeys: false,
|
||||
isLoadingAuth: false,
|
||||
encryptionConfig: {
|
||||
type: 'Disabled',
|
||||
|
||||
Reference in New Issue
Block a user