@ory/elements-react 0.0.0-pr.6ecad3e0 → 0.0.0-pr.7dfcd715
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.
|
@@ -2903,19 +2903,6 @@ function LoginCardFooter() {
|
|
|
2903
2903
|
`${config.sdk.url}/self-service/${flowType}/browser`
|
|
2904
2904
|
);
|
|
2905
2905
|
}
|
|
2906
|
-
if (authMethods.length > 1 && formState.current === "method_active") {
|
|
2907
|
-
return /* @__PURE__ */ jsx34("span", { className: "font-normal leading-normal antialiased text-interface-foreground-default-primary", children: /* @__PURE__ */ jsx34(
|
|
2908
|
-
"a",
|
|
2909
|
-
{
|
|
2910
|
-
className: "text-button-link-brand-brand transition-colors hover:text-button-link-brand-brand-hover underline",
|
|
2911
|
-
href: "",
|
|
2912
|
-
"data-testid": "ory/screen/login/mfa/action/selectMethod",
|
|
2913
|
-
children: intl.formatMessage({
|
|
2914
|
-
id: "login.2fa.method.go-back"
|
|
2915
|
-
})
|
|
2916
|
-
}
|
|
2917
|
-
) });
|
|
2918
|
-
}
|
|
2919
2906
|
if (flow.refresh || flow.requested_aal === "aal2") {
|
|
2920
2907
|
return /* @__PURE__ */ jsxs15("span", { className: "font-normal leading-normal antialiased text-interface-foreground-default-primary", children: [
|
|
2921
2908
|
intl.formatMessage({
|
|
@@ -2958,6 +2945,17 @@ function LoginCardFooter() {
|
|
|
2958
2945
|
}
|
|
2959
2946
|
)
|
|
2960
2947
|
] }),
|
|
2948
|
+
authMethods.length > 1 && formState.current === "method_active" && /* @__PURE__ */ jsx34("span", { className: "font-normal leading-normal antialiased text-interface-foreground-default-primary", children: /* @__PURE__ */ jsx34(
|
|
2949
|
+
"a",
|
|
2950
|
+
{
|
|
2951
|
+
className: "text-button-link-brand-brand transition-colors hover:text-button-link-brand-brand-hover underline",
|
|
2952
|
+
href: "",
|
|
2953
|
+
"data-testid": "ory/screen/login/mfa/action/selectMethod",
|
|
2954
|
+
children: intl.formatMessage({
|
|
2955
|
+
id: "login.2fa.method.go-back"
|
|
2956
|
+
})
|
|
2957
|
+
}
|
|
2958
|
+
) }),
|
|
2961
2959
|
authMethods.length === 1 && authMethods[0] === "code" && formState.current === "method_active" && /* @__PURE__ */ jsx34("span", { className: "font-normal leading-normal antialiased text-interface-foreground-default-primary", children: /* @__PURE__ */ jsx34(
|
|
2962
2960
|
"a",
|
|
2963
2961
|
{
|