Mojtabarezaei4 / Queueomatic

A queue system that can be used for educational purposes or for any other situations where prioritization of individuals is necessary.
https://queueomatic.azurewebsites.net/
MIT License
7 stars 2 forks source link

Loged-in user will be signed-out if he enters a room as participant #173

Open Mojtabarezaei4 opened 7 months ago

Mojtabarezaei4 commented 7 months ago

Logged-in user will be signed out if they enter a room as a participant and exit the room. It happens due to assigning different session token for participant and it overrides the old one for user.

FabianAronsson commented 7 months ago

This should be an easy fix. All that needs to be done is to check if the current user already has a token, and if so, don't request a new one.