From 26e32a29d3ed2f06b68596145b895bd44990caa1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 7 Jan 2020 09:27:13 +0000 Subject: [PATCH] Update dependency ember-simple-auth to v2 (#1449) Co-authored-by: Renovate Bot --- ghost/admin/app/adapters/base.js | 4 ---- ghost/admin/package.json | 2 +- ghost/admin/yarn.lock | 8 ++++---- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/ghost/admin/app/adapters/base.js b/ghost/admin/app/adapters/base.js index 2a95ca8050..c8bffa6b24 100644 --- a/ghost/admin/app/adapters/base.js +++ b/ghost/admin/app/adapters/base.js @@ -14,10 +14,6 @@ export default RESTAdapter.extend(DataAdapterMixin, AjaxServiceSupport, { return false; }, - authorize(/*xhr*/) { - // noop - we're using server-side session cookies - }, - query(store, type, query) { let id; diff --git a/ghost/admin/package.json b/ghost/admin/package.json index de9da53245..c62d991845 100644 --- a/ghost/admin/package.json +++ b/ghost/admin/package.json @@ -89,7 +89,7 @@ "ember-power-select": "2.3.5", "ember-resolver": "7.0.0", "ember-route-action-helper": "2.0.7", - "ember-simple-auth": "1.9.2", + "ember-simple-auth": "2.1.1", "ember-sinon": "4.1.1", "ember-source": "3.15.0", "ember-sticky-element": "0.2.3", diff --git a/ghost/admin/yarn.lock b/ghost/admin/yarn.lock index c0ca5cd18c..deccd8c509 100644 --- a/ghost/admin/yarn.lock +++ b/ghost/admin/yarn.lock @@ -5798,10 +5798,10 @@ ember-router-generator@^2.0.0: "@babel/traverse" "^7.4.5" recast "^0.18.1" -ember-simple-auth@1.9.2: - version "1.9.2" - resolved "https://registry.yarnpkg.com/ember-simple-auth/-/ember-simple-auth-1.9.2.tgz#ee8b1b0ec4c5c0e08bc94560cb90552d4ae7fd5d" - integrity sha512-WTG2uGe8+TIfwsy5eaS7uIszEmyQ/pjKLUMjyq6YYkU9d9erSXVRiuO4h46OxTEbVI3c17mjAu/4kTxc+BOFZw== +ember-simple-auth@2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/ember-simple-auth/-/ember-simple-auth-2.1.1.tgz#c9624485193304f7767ce9a0c9353eae9a4f7325" + integrity sha512-VrX09hZGGk/PuDmaVDEfRf46tNBJF8FJR6nszvY3rmmB1+tGrzeyHOZTyY7+mcAQfsyZAS71gs6twjxYKCquGQ== dependencies: base-64 "^0.1.0" broccoli-file-creator "^2.0.0"