generated from freeCodeCamp/template
-
-
Notifications
You must be signed in to change notification settings - Fork 133
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The Home Button at the top of the page currently takes the user to different pages depending on their role:
Admin - Admin page
Teacher - Teacher page
Other role / Not logged in - Error page
This could lead to confusion, especially if users who are not logged in click on that button.
To Reproduce
- Make sure you can successfully log in via Github (use the Github sign-in option, not Auth0)
- Run "npx prisma studio" in the terminal, navigate to the "Users" table, change the role of your user.
- Make sure you click "Save changes" in prisma studio
- Sign out of the Classroom app and then sign back in
- Click the Home Button
Expected behavior
I think this button should take you back to the home page, replacing the current functionality of the "Menu" button.
Screenshots

Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working