This commit is contained in:
eric
2026-03-30 10:36:08 -05:00
parent 2307411b37
commit 2ffbddff2e
8 changed files with 454 additions and 6 deletions

View File

@@ -73,7 +73,12 @@ export async function pbRegister(
const res = await fetch(`${url}/api/collections/users/records`, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ email, password, passwordConfirm }),
body: JSON.stringify({
email,
password,
passwordConfirm,
live_allowed: true,
}),
});
if (!res.ok) {
const err = await res.json().catch(() => ({}));