Skip to content

Commit 9ad2556

Browse files
authored
fix: let kratos handle session redirects (#304)
1 parent ae7fbd6 commit 9ad2556

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/routes/registration.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,5 @@ export const registerRegistrationRoute: RouteRegistrator = (
119119
app,
120120
createHelpers = defaultConfig,
121121
) => {
122-
app.get(
123-
"/registration",
124-
requireNoAuth(createHelpers),
125-
createRegistrationRoute(createHelpers),
126-
)
122+
app.get("/registration", createRegistrationRoute(createHelpers))
127123
}

0 commit comments

Comments
 (0)