Skip to content

Commit

Permalink
Merge branch 'dev' into Vxrcel-clean
Browse files Browse the repository at this point in the history
  • Loading branch information
kleenpulse authored Jul 30, 2024
2 parents 6f8cedb + 3799543 commit c40ef2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/auth.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit c40ef2a

Please sign in to comment.