Skip to content

Commit

Permalink
[5.3] MSTR-325: Fix issue where masquerading throws an error (#1245)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcandia committed Oct 28, 2024
1 parent 5bc8202 commit 704dd18
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 704dd18

Please sign in to comment.