fix basic auth (#2505)

This commit is contained in:
pablodanswer
2024-09-18 15:45:58 -07:00
committed by GitHub
parent f3cea79c1c
commit a9403016c9
2 changed files with 22 additions and 11 deletions

View File

@@ -31,6 +31,7 @@ export const basicLogin = async (
["username", email],
["password", password],
]);
const response = await fetch("/api/auth/login", {
method: "POST",
credentials: "include",