discourse/app/views/layouts
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
..
_head.html.erb Replace `base_uri` with `base_path` (#10879) 2020-10-09 12:51:24 +01:00
application.html.erb FIX: Cleanup authentication_data cookie after login (#11834) 2021-01-25 13:47:44 +00:00
crawler.html.erb FIX: Resolve Schema.org validation issues 2020-05-05 16:57:16 +03:00
email_template.html.erb Revert "Revert "Merge branch 'master' of https://github.com/discourse/discourse"" 2020-05-23 00:56:13 -04:00
embed.html.erb UI: Add viewport meta tag to embedded topics layout 2019-09-12 14:14:32 -04:00
finish_installation.html.erb FEATURE: Dark-mode-friendly wizard (#10739) 2020-09-25 08:56:23 -04:00
no_ember.html.erb DEV: add class to body of no_ember layout so it can targeted in CSS 2020-06-25 16:17:19 -04:00
publish.html.erb FIX: uses topic title for published page head title (#10312) 2020-07-27 15:09:12 +02:00