Open morkeltry opened 5 years ago
What other options can we explore?
Other than a button, or other than forgetting the cookie?
Other than the button, the option is that the user clears the cookie themselves.
Other than forgetting the cookie, the option would be to add infrastructure on the frontend which adds a ?forget=true
flag for the backend to process, added to each place (currently 2) where we make an API request, extra frontend state to support this and infrastructure (1 or 2 lines) on the backend which interpets it and clears the location from the session.
which clears the cookie
connect.sid
, since this is the only way to change location if an incorrect location was provided.