Skip to content

Commit

Permalink
chore: add extraContext object
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas committed Sep 18, 2023
1 parent 6d6dfe2 commit 756aee5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ export const createLoginRoute: RouteCreator =
{ locale: res.locals.lang },
),
extraPartial: extraPartials?.login,
extraContext: res.locals.extraContext,
})
})
.catch(redirectOnSoftError(res, next, initFlowUrl))
Expand Down
1 change: 1 addition & 0 deletions src/routes/registration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export const createRegistrationRoute: RouteCreator =
{ locale: res.locals.lang },
),
extraPartial: extraPartials?.registration,
extraContext: res.locals.extraContext,
})
})
.catch(redirectOnSoftError(res, next, initFlowUrl))
Expand Down

0 comments on commit 756aee5

Please sign in to comment.