mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 18:05:08 +08:00
2092152b03
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> |
||
---|---|---|
.. | ||
_head.html.erb | ||
application.html.erb | ||
crawler.html.erb | ||
email_template.html.erb | ||
embed.html.erb | ||
finish_installation.html.erb | ||
no_ember.html.erb | ||
publish.html.erb |