mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 19:35:41 +03:00
Include credentials in fetch requests
Fixes #3701 Relevant spec section: https://fetch.spec.whatwg.org/#concept-request-credentials-mode
This commit is contained in:
@@ -5,6 +5,7 @@ BUG FIXES:
|
||||
* core: Fix an issue in which batch jobs with queued placements and lost
|
||||
allocations could result in improper placement counts [[GH-3717](https://github.com/hashicorp/nomad/issues/3717)]
|
||||
* config: Revert minimum CPU limit back to 20 from 100.
|
||||
* ui: Fix requests using client-side certificates in Firefox. [[GH-3728](https://github.com/hashicorp/nomad/pull/3728)]
|
||||
|
||||
## 0.7.1 (December 19, 2017)
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ export default Service.extend({
|
||||
},
|
||||
}),
|
||||
|
||||
authorizedRequest(url, options = {}) {
|
||||
authorizedRequest(url, options = { credentials: 'include' }) {
|
||||
const headers = {};
|
||||
const token = this.get('secret');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user