fix admin sidebar not showing items after new login
All checks were successful
delpoy / build-and-deploy (push) Successful in 39s
All checks were successful
delpoy / build-and-deploy (push) Successful in 39s
This commit is contained in:
parent
8259c387e5
commit
b6fad90daf
@ -13,7 +13,7 @@
|
|||||||
body: new FormData(document.forms[0])
|
body: new FormData(document.forms[0])
|
||||||
});
|
});
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
await goto(`${env.PUBLIC_BASE_PATH}/admin`);
|
await goto(`${env.PUBLIC_BASE_PATH}/admin`, { invalidateAll: true });
|
||||||
resolve();
|
resolve();
|
||||||
} else if (response.status == 403) {
|
} else if (response.status == 403) {
|
||||||
passwordValue = '';
|
passwordValue = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user