Skip to content

Commit

Permalink
[5.4] MSTR-325: Fix issue where masquerading throws an error (#1246)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcandia authored Oct 21, 2024
1 parent e962ace commit 57f531f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apps/core/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ define(function(require) {
},
success: function(data, status) {
self.triggerMasquerading({
account: data,
account: data.data,
callback: function() {
var currentApp = monster.apps.getActiveApp();
if (currentApp in monster.apps) {
Expand Down Expand Up @@ -480,7 +480,7 @@ define(function(require) {

triggerMasquerading: function(args) {
var self = this,
account = args.account.data,
account = args.account,
callback = args.callback,
afterGetData = function(account) {
monster.apps.auth.currentAccount = $.extend(true, {}, account);
Expand Down

0 comments on commit 57f531f

Please sign in to comment.