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
Create an Auth Context provider to wrap our main pages, and display the correct thing based off of the user's role. For example, the home page should show the admin/staff view if they are admin or staff, and the veteran view if they are a veteran. In addition, when viewing another person's profile, this also depends on the user's role.
Also ensure that for each route, they are taken to the login page if they are not currently authenticated.
The text was updated successfully, but these errors were encountered:
Create an Auth Context provider to wrap our main pages, and display the correct thing based off of the user's role. For example, the home page should show the admin/staff view if they are admin or staff, and the veteran view if they are a veteran. In addition, when viewing another person's profile, this also depends on the user's role.
Also ensure that for each route, they are taken to the login page if they are not currently authenticated.
The text was updated successfully, but these errors were encountered: