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:
commit
839ba6300e
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue