diff --git a/src-tauri/vendored/plugins/auth-oauth2/build/index.js b/src-tauri/vendored/plugins/auth-oauth2/build/index.js index 051fbda1..18026a40 100644 --- a/src-tauri/vendored/plugins/auth-oauth2/build/index.js +++ b/src-tauri/vendored/plugins/auth-oauth2/build/index.js @@ -107,7 +107,8 @@ async function resetDataDirKey(ctx, contextId) { return ctx.store.set(dataDirStoreKey(contextId), key); } async function getDataDirKey(ctx, contextId) { - return ctx.store.get(dataDirStoreKey(contextId)); + const key = await ctx.store.get(dataDirStoreKey(contextId)) ?? "default"; + return `${contextId}::${key}`; } function tokenStoreKey(context_id) { return ["token", context_id].join("::");