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.
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.