Skip to content

Commit

Permalink
Set redirect to true in LoginComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
pdovhomilja committed Sep 22, 2023
1 parent 5733c0f commit 61b3ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/[locale]/(auth)/sign-in/components/LoginComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export function LoginComponent() {
setIsLoading(true);
try {
const status = await signIn("credentials", {
redirect: false,
redirect: true,
email: data.email,
password: data.password,
callbackUrl: process.env.NEXT_PUBLIC_APP_URL,
Expand Down

6 comments on commit 61b3ab0

@vercel
Copy link

@vercel vercel bot commented on 61b3ab0 Sep 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 61b3ab0 Sep 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nextcrm-test – ./

test.nextcrm.io
nextcrm-test-e-osvc.vercel.app
nextcrm-test-git-main-e-osvc.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 61b3ab0 Sep 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 61b3ab0 Sep 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 61b3ab0 Sep 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nextcrm-demo – ./

nextcrm-demo-e-osvc.vercel.app
nextcrm-demo-git-main-e-osvc.vercel.app
demo.nextcrm.io

@vercel
Copy link

@vercel vercel bot commented on 61b3ab0 Sep 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nextcrm-others – ./

nextcrm-others-e-osvc.vercel.app
others.nextcrm.io
nextcrm-others-git-main-e-osvc.vercel.app

Please sign in to comment.