@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.
package/CHANGELOG.md
CHANGED
|
@@ -217,7 +217,7 @@ function LoginCardFooter() {
|
|
|
217
217
|
return null;
|
|
218
218
|
}
|
|
219
219
|
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
220
|
-
formState.current === "provide_identifier" && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: "font-normal leading-normal antialiased text-interface-foreground-default-primary", children: [
|
|
220
|
+
formState.current === "provide_identifier" && config.project.registration_enabled && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: "font-normal leading-normal antialiased text-interface-foreground-default-primary", children: [
|
|
221
221
|
intl.formatMessage({
|
|
222
222
|
id: "login.registration-label",
|
|
223
223
|
defaultMessage: "No account?"
|
|
@@ -228,7 +228,7 @@ function LoginCardFooter() {
|
|
|
228
228
|
{
|
|
229
229
|
className: "text-button-link-brand-brand transition-colors hover:text-button-link-brand-brand-hover underline",
|
|
230
230
|
href: initFlowUrl(config.sdk.url, "registration", flow),
|
|
231
|
-
"data-testid": "ory/screen/
|
|
231
|
+
"data-testid": "ory/screen/login/action/register",
|
|
232
232
|
children: intl.formatMessage({
|
|
233
233
|
id: "login.registration-button",
|
|
234
234
|
defaultMessage: "Sign up"
|