tiffsoa / -Code_Monkies-SOEN341_Project_F24-

0 stars 0 forks source link

Implement role-based user redirection after login #9

Closed tiffsoa closed 1 month ago

tiffsoa commented 1 month ago

After the user logs in, redirect them to their respective home page (student/instructor)

Transyfor commented 1 month ago

redirect_after_login takes the user’s variable named “type” but that doesn't exist, the variable is called “instructor” and it’s a boolean