Closed Syntaf closed 7 years ago
The /login route will be changed when #19 is implemented in order to handle multiple portals. The following should be changed:
/login
A new flag will called loginType will be passed alongside the TOKEN to specify what portal the user is trying to login to
loginType
If the user is attempting to login as an exhibitor:
permitted_exhibitors
If the user is attempting to login as a conference organizer:
organizers
This was done with last commit I made. If upon review it seems like it isn't actually done, we can re-open the issue.
The
/login
route will be changed when #19 is implemented in order to handle multiple portals. The following should be changed:A new flag will called
loginType
will be passed alongside the TOKEN to specify what portal the user is trying to login toIf the user is attempting to login as an exhibitor:
permitted_exhibitors
table of conference to see if user is allowed to loginIf the user is attempting to login as a conference organizer:
organizers
table to see if user is allowed to login