discourse/app
David Taylor 2092152b03
FIX: Cleanup authentication_data cookie after login (#11834)
This cookie is only used during login. Having it persist after that can
cause some unusual behavior, especially for sites with short session
lengths.

We were already deleting the cookie following a new signup, but not for
existing users.

This commit moves the cookie deletion logic out of the erb template, and
adds logic and tests to ensure it is always deleted consistently.

Co-authored-by: Jarek Radosz <jradosz@gmail.com>
2021-01-25 13:47:44 +00:00
..
assets FIX: Dismissing unread topics with a tag (#11832) 2021-01-25 15:16:21 +02:00
controllers FIX: reindex_search job should work on model with no search data (#11819) 2021-01-25 11:23:36 +01:00
helpers FIX: Cleanup authentication_data cookie after login (#11834) 2021-01-25 13:47:44 +00:00
jobs FIX: reindex_search job should work on model with no search data (#11819) 2021-01-25 11:23:36 +01:00
mailers FEATURE: reason to reject user signup (#11700) 2021-01-15 09:43:26 +11:00
models FIX: reindex_search job should work on model with no search data (#11819) 2021-01-25 11:23:36 +01:00
serializers FIX: Update categories without full page refresh (#11793) 2021-01-22 10:21:09 +02:00
services FIX: Remove scheduled DND timings when schedule is disabed (#11814) 2021-01-22 13:02:11 -06:00
views FIX: Cleanup authentication_data cookie after login (#11834) 2021-01-25 13:47:44 +00:00