You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prevent people from accessing pages in account setup flow before and after they're supposed to (e.g., people shouldn't be able to access /account-type after they've already selected their account type).
Prevent Researchers from accessing Student pages and API routes and vice versa.
Redirect students accessing /profile to their profile page. Use a supabase query for prod since Prisma doesn't support edge yet.
The /about page should redirect to the home page if a user is logged in. Allow signed out users to access the /about page.
The text was updated successfully, but these errors were encountered:
Describe the solution you'd like
Prevent people from accessing pages in account setup flow before and after they're supposed to (e.g., people shouldn't be able to access
/account-type
after they've already selected their account type).Prevent Researchers from accessing Student pages and API routes and vice versa.
Redirect students accessing
/profile
to their profile page. Use a supabase query for prod since Prisma doesn't support edge yet.The
/about
page should redirect to the home page if a user is logged in. Allow signed out users to access the/about
page.The text was updated successfully, but these errors were encountered: