KEYCLOAK-1137 Access to logged in user data (first/last name) on any page in freemarker
This commit is contained in:
parent
f6d3e76b67
commit
be13b88d24
1 changed files with 1 additions and 3 deletions
|
@ -138,11 +138,9 @@ public class FreeMarkerAccountProvider implements AccountProvider {
|
|||
}
|
||||
|
||||
attributes.put("features", new FeaturesBean(identityProviderEnabled, eventsEnabled, passwordUpdateSupported));
|
||||
attributes.put("account", new AccountBean(user, profileFormData));
|
||||
|
||||
switch (page) {
|
||||
case ACCOUNT:
|
||||
attributes.put("account", new AccountBean(user, profileFormData));
|
||||
break;
|
||||
case TOTP:
|
||||
attributes.put("totp", new TotpBean(realm, user, baseUri));
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue