discourse/app/helpers
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
..
application_helper.rb FIX: Cleanup authentication_data cookie after login (#11834) 2021-01-25 13:47:44 +00:00
common_helper.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
email_helper.rb FIX: Set the lang/xml:lang html attrs in emails (#10218) 2020-07-13 16:39:40 +02:00
embed_helper.rb FIX: Display small post actions when embedding a topic (#9278) 2020-03-26 09:07:41 -03:00
emoji_helper.rb FIX: ensures emoji helper is working with custom emojis (#7843) 2019-07-03 09:23:40 +02:00
list_helper.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topics_helper.rb Improve support for old browsers (#9515) 2020-04-29 21:40:21 +03:00
user_notifications_helper.rb Replace `base_uri` with `base_path` (#10879) 2020-10-09 12:51:24 +01:00