PASTAplus / DataPortal

EDI Data Portal
3 stars 3 forks source link

Error when multiple user sessions log in as the same user, and one of them logs out #126

Closed rogerdahl closed 6 months ago

rogerdahl commented 8 months ago

If two separate sessions are logged in as the same user, and one of them then logs out, the portal errors out for the other user.

This happens because logging out removes a shared row for the user from the authtoken.tokenstore, and the TokenRefreshFilter depends on the row being present in the database as long as there is a valid session for the user.

Actions: