HOTFIX: redirect post-login to /home-page (where auth works) instead of /contributor (race condition)
This commit is contained in:
@@ -49,7 +49,7 @@ export default function ClientLoginPage() {
|
||||
// its NextResponse. Hard reload so the server re-renders with the
|
||||
// cookie and the browser supabase client picks it up from
|
||||
// document.cookie on page load.
|
||||
window.location.href = '/contributor';
|
||||
window.location.href = '/home-page';
|
||||
} catch (err: any) {
|
||||
setError(err.message || 'An error occurred');
|
||||
console.error('Login exception:', err);
|
||||
|
||||
Reference in New Issue
Block a user