mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-05-18 05:18:05 -04:00
Add unlimitedStorage permission to browser extension to prevent quota limits for larger vaults (#1436)
This commit is contained in:
committed by
Leendert de Borst
parent
c3f66c78ea
commit
7e8ea3ac69
@@ -210,7 +210,7 @@ export async function handleWebAuthnGet(data: any): Promise<any> {
|
||||
async function checkForMatchingPasskeys(publicKey: any, origin: string): Promise<boolean> {
|
||||
try {
|
||||
// Check if vault is unlocked
|
||||
const encryptedVault = await storage.getItem('session:encryptedVault') as string;
|
||||
const encryptedVault = await storage.getItem('local:encryptedVault') as string;
|
||||
const encryptionKey = await handleGetEncryptionKey();
|
||||
|
||||
if (!encryptedVault || !encryptionKey) {
|
||||
|
||||
@@ -6,6 +6,7 @@ export default defineConfig({
|
||||
manifest: ({ browser, manifestVersion, mode, command }) => {
|
||||
const permissions = [
|
||||
"storage",
|
||||
"unlimitedStorage",
|
||||
"activeTab",
|
||||
"contextMenus",
|
||||
"scripting",
|
||||
|
||||
Reference in New Issue
Block a user