kowhai-2018 / Final-Project

0 stars 3 forks source link

Add support for multiple users #230

Open CarelS072 opened 5 years ago

CarelS072 commented 5 years ago

anyone using the app is currently getting the same user's logdata back. This needs to be changed to allow users to log their own data

CarelS072 commented 5 years ago

Train of thought: Users have their own table with a 'simple' userID and all cardData for the users are being written into its own table. Do we need an additional User field with a more complex UID which relates to a new field in the cardData table? This to prevent the scenario of data being able to be viewed by other users as their tokens are validated?