Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Reset client url on wrong input (#858)

Leendert de Borst9fddb5f45091
diff --git a/apps/browser-extension/src/entrypoints/popup/pages/AuthSettings.tsx b/apps/browser-extension/src/entrypoints/popup/pages/AuthSettings.tsx
index 396c1285c..10e5d28d3 100644
--- a/apps/browser-extension/src/entrypoints/popup/pages/AuthSettings.tsx
+++ b/apps/browser-extension/src/entrypoints/popup/pages/AuthSettings.tsx
@@ -119,6 +119,7 @@ const AuthSettings: React.FC = () => {
setErrors(prev => ({ ...prev, apiUrl: error.message }));
// On error we revert back to the aliasvault.net official hosted instance.
await storage.setItem('local:apiUrl', AppInfo.DEFAULT_API_URL);
+ await storage.setItem('local:clientUrl', AppInfo.DEFAULT_CLIENT_URL);
}
}
};