RevokeCash / revoke.cash

❌ Revoke or update your token approvals
https://revoke.cash
MIT License
674 stars 238 forks source link

Make sure that keeping the tab open for a day doesn't result in a session error #147

Open rkalis opened 1 year ago

rkalis commented 1 year ago

If a Revoke tab stays open for more than 24h, the user's session cookie is not valid any more. Our code is set up to refresh the login after 12 hours, but I think there's some concurrency issue that causes the app to not realise the session is stale before the rest of the app tries to reload data.

CleanShot 2023-12-21 at 12 07 22@2x