's'
This commit is contained in:
@@ -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(() => ({}));
|
||||
|
||||
Reference in New Issue
Block a user