Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.4] MSTR-325: Fix issue where masquerading throws an error #1246

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
MSTR-325: Fix issue where masquerading throws an error
  • Loading branch information
pcandia committed Oct 21, 2024
commit 223d02a2203b0c02e33c5119b1d2bba3d4785670
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