From b19913aece9c455c538e6ecc48fe6568f94f9f07 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Tue, 17 Nov 2015 09:59:02 -0700 Subject: [PATCH] User adapter coalesceFindRequests: false --- .../application/adapter.js => adapters/application.js} | 0 app/adapters/user.js | 7 +++++++ 2 files changed, 7 insertions(+) rename app/{pods/application/adapter.js => adapters/application.js} (100%) create mode 100644 app/adapters/user.js diff --git a/app/pods/application/adapter.js b/app/adapters/application.js similarity index 100% rename from app/pods/application/adapter.js rename to app/adapters/application.js diff --git a/app/adapters/user.js b/app/adapters/user.js new file mode 100644 index 0000000..689a6ec --- /dev/null +++ b/app/adapters/user.js @@ -0,0 +1,7 @@ +import ApplicationAdapter from '../adapters/application'; + +export default ApplicationAdapter.extend({ + // If coalesceFindRequests is on, and we 403 on any requests, ESA logs + // the current user out. Better to split the requests up at the adapter level. + coalesceFindRequests: false, +});