Skip to content

Commit

Permalink
Update login url in app-sidebar for redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
aahnik committed Jan 10, 2025
1 parent 8410b23 commit 9464e9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/app-sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export function AppSidebar({ children }: { children: React.ReactNode }) {
console.log(process.env.NEXT_PUBLIC_DEBUG);
console.log(user);
if (!user && process.env.NEXT_PUBLIC_DEBUG !== "True") {
router.push("/auth");
router.push("/auth/login");
}

// Get the base path (e.g., /[orgId])
Expand Down

0 comments on commit 9464e9e

Please sign in to comment.