jackmacdougall / SYSC4806-TeamJORA

0 stars 2 forks source link

50select student #60

Closed mRileyMacK closed 4 years ago

mRileyMacK commented 4 years ago

it's not done yet, I can't figure out how to pass the user to the controller

mRileyMacK commented 4 years ago

ok I think it is ready to go, if someone wants to pull and test that would really help

jackmacdougall commented 4 years ago

I made a new way to select the user that does it within the Person model class. When a new user is selected, the boolean isUser is set. If a person is already a user and a new one is selected, the old user's isUser is cleared

jackmacdougall commented 4 years ago

Looks good but it's so janky that we're using the database to set the user. This means that only one person can be using the entire site at a time.

There's only supposed to be one user at a time