From 3e6a2fb89cd22c3a4d4692d7ae60367b32cb2ca5 Mon Sep 17 00:00:00 2001 From: Jason Williams Date: Sun, 24 May 2015 09:37:53 -0500 Subject: [PATCH] Fix export db link and access token parameter Refs #5310 - Access token is now stored at session.secure.access_token. --- core/client/app/controllers/settings/labs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/client/app/controllers/settings/labs.js b/core/client/app/controllers/settings/labs.js index 0cfd0062bb..a8a3e4f4ce 100644 --- a/core/client/app/controllers/settings/labs.js +++ b/core/client/app/controllers/settings/labs.js @@ -65,7 +65,7 @@ var LabsController = Ember.Controller.extend(Ember.Evented, { exportData: function () { var iframe = $('#iframeDownload'), downloadURL = this.get('ghostPaths.url').api('db') + - '?access_token=' + this.get('session.access_token'); + '?access_token=' + this.get('session.secure.access_token'); if (iframe.length === 0) { iframe = $('