discourse/app/views
Jeff Wong 3189dab622 FIX: correctly remove authentication_data cookie on oauth login flow
Additionally correctly handle cookie path for authentication_data

There were two bugs that exposed an interesting case where two discourse
instances hosted across two subfolder installs in the same domain
with oauth may clash and cause strange redirection on first login:

Log in to example.com/forum1. authentication_data cookie is set with path /
On the first redirection, the current authentication_data cookie is not unset.
Log in to example.com/forum2. In this case, the authentication_data cookie
is already set from forum1 - the initial page load will incorrectly redirect
the user to the redirect URL from the already-stored cookie, to /forum1.

This removes this issue by:

* Setting the cookie for the correct path, and not having it on root
* Correctly removing the cookie on first login
2020-03-21 14:34:25 -07:00
..
about FIX: title was repeating on about page 2018-11-28 08:06:14 +05:30
admin/backups
application FIX: Sync Ember and non-Ember layouts (#9028) 2020-02-25 15:31:04 +02:00
badges FIX: in case of orphan user records skip badge 2019-08-30 17:21:34 +10:00
categories FEATURE: change layout when default page is category to tabular for _… (#7270) 2019-04-04 15:57:18 +02:00
common DEV: Load plugin stylesheets before theme stylesheets (#9240) 2020-03-19 16:02:12 +00:00
default
email UX: use same styling for username and user-name 2020-02-20 17:51:37 +05:30
embed FEATURE: Create New Topic button on embed with params (#8280) 2019-11-01 14:19:10 -05:00
exceptions FEATURE: Add site setting to show more detailed 404 errors. (#8014) 2019-10-08 14:15:08 +03:00
finish_installation Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
groups
invites
layouts FIX: correctly remove authentication_data cookie on oauth login flow 2020-03-21 14:34:25 -07:00
list FIX: Use new tag routes (#8683) 2020-01-21 19:23:08 +02:00
metadata DEV: Add support for Rails 6 2019-05-02 16:23:25 +10:00
offline
posts
qunit
robots_txt Revert "FEATURE: add Noindex to robots.txt for disallowed routes" 2019-07-30 11:33:38 +10:00
safe_mode Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
search
session SECURITY: Add confirmation screen when logging in via user-api OTP 2019-06-17 16:18:44 +01:00
static FEATURE: add short site description on login page title 2019-10-14 11:40:09 +05:30
tags FIX: Use new tag routes (#8683) 2020-01-21 19:23:08 +02:00
topics FIX: use schema.org's BreadcrumList 2020-01-21 22:27:21 +01:00
user_api_keys FEATURE: Delegated authentication via user api keys (#7272) 2019-04-01 13:18:53 -04:00
user_notifications FIX: Don't use theme colors for digest unsubscribe footer links 2020-02-11 15:52:38 -05:00
users FEATURE: Google Calendar doesn't support URL in iCalendar, add fallback description 2020-03-18 17:51:16 -03:00
users_email Support for transpiling .js files (#9160) 2020-03-11 09:43:55 -04:00
wizard FEATURE: Load translation overrides without JS eval 2019-11-05 19:16:38 +01:00