Skip to content

Commit

Permalink
Stop PageSelfDashboard corrupting mp principal
Browse files Browse the repository at this point in the history
This resolves MID-8232.
  • Loading branch information
mederly committed Oct 13, 2022
1 parent 8736403 commit 23a2f2d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ protected PrismObject<UserType> load() {
LOGGER.error("Cannot load logged in focus");
return null;
}
return (PrismObject<UserType>) principal.getFocus().asPrismObject();
return (PrismObject<UserType>) principal.getFocus().asPrismObject().clone();
}
};
}
Expand Down

0 comments on commit 23a2f2d

Please sign in to comment.