@ory/elements-react 1.0.0-next.37 → 1.0.0-next.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -168,7 +168,7 @@ function LoginCardFooter() {
168
168
  return null;
169
169
  }
170
170
  return /* @__PURE__ */ jsxs4(Fragment, { children: [
171
- formState.current === "provide_identifier" && /* @__PURE__ */ jsxs4("span", { className: "font-normal leading-normal antialiased text-interface-foreground-default-primary", children: [
171
+ formState.current === "provide_identifier" && config.project.registration_enabled && /* @__PURE__ */ jsxs4("span", { className: "font-normal leading-normal antialiased text-interface-foreground-default-primary", children: [
172
172
  intl.formatMessage({
173
173
  id: "login.registration-label",
174
174
  defaultMessage: "No account?"
@@ -179,7 +179,7 @@ function LoginCardFooter() {
179
179
  {
180
180
  className: "text-button-link-brand-brand transition-colors hover:text-button-link-brand-brand-hover underline",
181
181
  href: initFlowUrl(config.sdk.url, "registration", flow),
182
- "data-testid": "ory/screen/registration/action/login",
182
+ "data-testid": "ory/screen/login/action/register",
183
183
  children: intl.formatMessage({
184
184
  id: "login.registration-button",
185
185
  defaultMessage: "Sign up"