fix admin sidebar not showing items after new login

This commit is contained in:
bytedream 2023-08-29 14:30:25 +02:00
parent 8259c387e5
commit b6fad90daf

@ -13,7 +13,7 @@
body: new FormData(document.forms[0])
});
if (response.ok) {
await goto(`${env.PUBLIC_BASE_PATH}/admin`);
await goto(`${env.PUBLIC_BASE_PATH}/admin`, { invalidateAll: true });
resolve();
} else if (response.status == 403) {
passwordValue = '';