Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/shared/utils/tc.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@ export function getUnSelectedColors(rating) {
*/
export function getAuthTokens(req = {}) {
const cookies = req.cookies || {};
// Support both historical cookie names used across environments.
const authToken = cookies.tcjwt || cookies.tcJwt;
let tokenV2 = cookies.tcjwt;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[❗❗ correctness]
The removal of support for the historical cookie name tcJwt is fine if you are certain that all environments and clients have transitioned to using tcjwt. Ensure that there are no legacy systems relying on the old cookie name, as this could lead to authentication issues.

let tokenV3 = cookies.tcjwt;

Expand Down
Loading