Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…nextjs into feat/notification-system
  • Loading branch information
kinxlo committed Jul 30, 2024
2 parents ab0920d + 3799543 commit 061952d
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 061952d

Please sign in to comment.