mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
credentials: 'include'
This commit is contained in:
@@ -139,6 +139,7 @@ export class ApiService implements ApiServiceAbstraction {
|
||||
const authHeader = await this.handleTokenState();
|
||||
const response = await fetch(new Request(this.baseUrl + '/accounts/profile', {
|
||||
cache: 'no-cache',
|
||||
credentials: 'include',
|
||||
headers: new Headers({
|
||||
'Accept': 'application/json',
|
||||
'Authorization': authHeader,
|
||||
@@ -418,6 +419,7 @@ export class ApiService implements ApiServiceAbstraction {
|
||||
const response = await fetch(new Request(this.baseUrl + '/organizations/' + organizationId + '/import', {
|
||||
body: JSON.stringify(request),
|
||||
cache: 'no-cache',
|
||||
credentials: 'include',
|
||||
headers: new Headers({
|
||||
'Accept': 'application/json',
|
||||
'Authorization': authHeader,
|
||||
|
||||
Reference in New Issue
Block a user