reworked admin auth to use form and cookie + adjusted oauth to support API and cookie-based auth

This commit is contained in:
dswbx
2024-11-23 18:12:19 +01:00
parent f70e2b2e10
commit 824ff40133
30 changed files with 630 additions and 483 deletions

View File

@@ -40,7 +40,7 @@ export function BkndProvider({
if (!res.ok) {
if (errorShown.current) return;
errorShown.current = true;
notifications.show({
/*notifications.show({
title: "Failed to fetch schema",
// @ts-ignore
message: body.error,
@@ -48,7 +48,7 @@ export function BkndProvider({
position: "top-right",
autoClose: false,
withCloseButton: true
});
});*/
}
const schema = res.ok