Skip to content

Commit

Permalink
fix: apiToken cookie should be shared between same host (#1321)
Browse files Browse the repository at this point in the history
* for language switch in multisite configuration
* for hybrid approach
  • Loading branch information
Eisie96 authored Nov 10, 2022
1 parent 8da52d6 commit 80d5f9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/core/utils/api-token/api-token.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export class ApiTokenService {
expires: new Date(Date.now() + 3600000),
secure: true,
sameSite: 'Strict',
path: '/',
});
} else {
cookiesService.remove('apiToken');
Expand Down

0 comments on commit 80d5f9d

Please sign in to comment.