Closed connordoman closed 7 months ago
Of course middleware.ts
should redirect users automatically before this problem arises, but since we need a conditional to check the null status of the loggedInUser
anyway we might as well have perform the same action.
_Originally posted by @tthvo in https://github.com/COSC-499-W2023/year-long-project-team-1/pull/792#discussion_r1550889904_