0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Merge pull request #5974 from acburdine/issue-5973

Fix session data loading in settings/labs
This commit is contained in:
Kevin Ansfield 2015-10-20 14:11:43 +01:00
commit 839ba6300e

View file

@ -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 = $('<iframe>', {id: 'iframeDownload'}).hide().appendTo('body');