Added user session functionality to the site, along with login requirements for certain pages (/profile and /organizer for now). As of right now, the before_request route doesn't check if you're a vendor or a user, so you can load up an organizer page if you're logged in as a vendor and vice versa. That should be a minor tweak, though.
Related
Closes issue #54
Closes issue #61 (made it so that you can't book a vendor if not logged in)
What's Happening?
Added user session functionality to the site, along with login requirements for certain pages (/profile and /organizer for now). As of right now, the before_request route doesn't check if you're a vendor or a user, so you can load up an organizer page if you're logged in as a vendor and vice versa. That should be a minor tweak, though.
Related