@ory/elements-react 1.0.0-next.1 → 1.0.0-next.2
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.
|
@@ -8825,7 +8825,7 @@ function LoginCardFooter() {
|
|
|
8825
8825
|
if (!config.project.registration_enabled) {
|
|
8826
8826
|
return null;
|
|
8827
8827
|
}
|
|
8828
|
-
let registrationLink =
|
|
8828
|
+
let registrationLink = `${config.sdk.url}/self-service/registration/browser`;
|
|
8829
8829
|
const returnTo = getReturnToQueryParam();
|
|
8830
8830
|
if (returnTo) {
|
|
8831
8831
|
registrationLink += `?return_to=${returnTo}`;
|
|
@@ -8851,7 +8851,8 @@ function LoginCardFooter() {
|
|
|
8851
8851
|
}
|
|
8852
8852
|
function RegistrationCardFooter() {
|
|
8853
8853
|
const intl = useIntl();
|
|
8854
|
-
|
|
8854
|
+
const { config } = useOryFlow();
|
|
8855
|
+
let loginLink = `${config.sdk.url}/self-service/login/browser`;
|
|
8855
8856
|
const returnTo = getReturnToQueryParam();
|
|
8856
8857
|
if (returnTo) {
|
|
8857
8858
|
loginLink += `?return_to=${returnTo}`;
|