CampaignLabSpicy / twitter-followers-frontend

Know Your Followers React frontend
0 stars 1 forks source link

Forget me button #6

Open morkeltry opened 5 years ago

morkeltry commented 5 years ago

which clears the cookie connect.sid, since this is the only way to change location if an incorrect location was provided.

raineydavid commented 5 years ago

What other options can we explore?

morkeltry commented 4 years ago

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.