Make the user attribute available to the idp-review-user-profile.ftl template
Closes #25872 Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
This commit is contained in:
parent
022e809373
commit
15b10f58fc
1 changed files with 1 additions and 0 deletions
|
@ -296,6 +296,7 @@ public class FreeMarkerLoginFormsProvider implements LoginFormsProvider {
|
|||
case IDP_REVIEW_USER_PROFILE:
|
||||
UpdateProfileContext idpCtx = (UpdateProfileContext) attributes.get(LoginFormsProvider.UPDATE_PROFILE_CONTEXT_ATTR);
|
||||
attributes.put("profile", new IdpReviewProfileBean(idpCtx, formData, session));
|
||||
attributes.put("user", new ProfileBean(idpCtx, formData));
|
||||
break;
|
||||
case FRONTCHANNEL_LOGOUT:
|
||||
attributes.put("logout", new FrontChannelLogoutBean(session));
|
||||
|
|
Loading…
Reference in a new issue