From 562c48fb4da8d6818456bd9444196b39fb5e35cb Mon Sep 17 00:00:00 2001 From: Austin Burdine Date: Tue, 20 Oct 2015 07:50:41 -0500 Subject: [PATCH] fix session data loading in settings/labs closes #5973 - updating session data loading to new esa 1.0 api --- ghost/admin/app/controllers/settings/labs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/admin/app/controllers/settings/labs.js b/ghost/admin/app/controllers/settings/labs.js index 30799c9dca..42b29a2238 100644 --- a/ghost/admin/app/controllers/settings/labs.js +++ b/ghost/admin/app/controllers/settings/labs.js @@ -70,7 +70,7 @@ export default Ember.Controller.extend({ exportData: function () { var iframe = $('#iframeDownload'), downloadURL = this.get('ghostPaths.url').api('db') + - '?access_token=' + this.get('session.secure.access_token'); + '?access_token=' + this.get('session.data.authenticated.access_token'); if (iframe.length === 0) { iframe = $('