Merge pull request #1093 from stianst/master
KEYCLOAK-1137 Access to logged in user data (first/last name) on any pag...
This commit is contained in:
commit
37e732c64d
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