Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
+8
-2
@@ -14,7 +14,7 @@ let routeLoaderData = {
|
||||
requireEmailVerification: false,
|
||||
requireOrganization: true,
|
||||
requireName: true,
|
||||
captcha: { enabled: false, instanceUrl: "", loginSiteKey: "" },
|
||||
captcha: { enabled: false, provider: "mcaptcha", instanceUrl: "", loginSiteKey: "" },
|
||||
},
|
||||
subscription: {
|
||||
required: false,
|
||||
@@ -123,10 +123,16 @@ const updateAppConfigurationMock = vi.mocked(updateAppConfiguration);
|
||||
const createAdminLogMock = vi.mocked(createAdminLog);
|
||||
|
||||
function postRequest(form: FormData) {
|
||||
const body = new URLSearchParams();
|
||||
for (const [key, value] of form.entries()) {
|
||||
if (typeof value === "string") {
|
||||
body.append(key, value);
|
||||
}
|
||||
}
|
||||
return new Request("https://admin.example.com/settings/authentication?token=secret", {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/x-www-form-urlencoded" },
|
||||
body: new URLSearchParams(form as unknown as Record<string, string>),
|
||||
body: body.toString(),
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user