diff --git a/src/config/auth.config.ts b/src/config/auth.config.ts index 71f7e4b7c..5121d4088 100644 --- a/src/config/auth.config.ts +++ b/src/config/auth.config.ts @@ -69,14 +69,14 @@ export default { return { ...token, ...response }; }, async redirect({ url, baseUrl }) { - if (url === "/auth/login") { + if (url === "/login") { return baseUrl; } return "/register/organisation"; }, }, pages: { - signIn: "/auth/login", + signIn: "/login", }, trustHost: true, } satisfies NextAuthConfig;