Skip to content

Commit

Permalink
Include credentials in fetch requests
Browse files Browse the repository at this point in the history
  • Loading branch information
schmichael committed Jan 8, 2018
1 parent 9a54729 commit b5578be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/services/token.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default Service.extend({
},
}),

authorizedRequest(url, options = {}) {
authorizedRequest(url, options = { credentials: 'include' }) {
const headers = {};
const token = this.get('secret');

Expand Down

0 comments on commit b5578be

Please sign in to comment.