AnthonMS / TimeMentor

This is the temporary repo for my Final Assignment for my studies
0 stars 0 forks source link

Sign in - Fix cookie token #38

Open AnthonMS opened 5 years ago

AnthonMS commented 5 years ago

Time Estimate: 4 Hours On the sign in page we want to check the database for a token on the user that is logging in. If there already are one assigned, we want to use this for the cookie for the rest of the cookie's lifetime. (Which is forever right now since we dont assign any).

This is so when the user logs in on multiple devices, he won't close the sessions on all other then current device.