Skip to content

Commit

Permalink
fix: let kratos handle session redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
Benehiko committed Oct 30, 2023
1 parent ae7fbd6 commit cdd71f4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/routes/registration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,5 @@ export const registerRegistrationRoute: RouteRegistrator = (
app,
createHelpers = defaultConfig,
) => {
app.get(
"/registration",
requireNoAuth(createHelpers),
createRegistrationRoute(createHelpers),
)
app.get("/registration", createRegistrationRoute(createHelpers))
}

0 comments on commit cdd71f4

Please sign in to comment.