From cdd71f436a0b1fb915d2ca39f7cd7f6ed0acb0ec Mon Sep 17 00:00:00 2001 From: Alano Terblanche <18033717+Benehiko@users.noreply.github.com> Date: Mon, 30 Oct 2023 09:05:09 +0100 Subject: [PATCH] fix: let kratos handle session redirects --- src/routes/registration.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/routes/registration.ts b/src/routes/registration.ts index 37f74710..f13fd93d 100644 --- a/src/routes/registration.ts +++ b/src/routes/registration.ts @@ -119,9 +119,5 @@ export const registerRegistrationRoute: RouteRegistrator = ( app, createHelpers = defaultConfig, ) => { - app.get( - "/registration", - requireNoAuth(createHelpers), - createRegistrationRoute(createHelpers), - ) + app.get("/registration", createRegistrationRoute(createHelpers)) }