diff --git a/src/routes/login.ts b/src/routes/login.ts index 11667b88..b45bd8d1 100644 --- a/src/routes/login.ts +++ b/src/routes/login.ts @@ -197,6 +197,7 @@ export const createLoginRoute: RouteCreator = { locale: res.locals.lang }, ), extraPartial: extraPartials?.login, + extraContext: res.locals.extraContext, }) }) .catch(redirectOnSoftError(res, next, initFlowUrl)) diff --git a/src/routes/registration.ts b/src/routes/registration.ts index 6cb1c7cb..37f74710 100644 --- a/src/routes/registration.ts +++ b/src/routes/registration.ts @@ -109,6 +109,7 @@ export const createRegistrationRoute: RouteCreator = { locale: res.locals.lang }, ), extraPartial: extraPartials?.registration, + extraContext: res.locals.extraContext, }) }) .catch(redirectOnSoftError(res, next, initFlowUrl))