refactor for caching again

This commit is contained in:
Bill Burke committed 2014-06-12 11:11:14 -04:00
1 parent 0dd06e3343
commit 2ae2067841
26 files changed
+961 -244

No files matched your search

@@ -50,7 +50,7 @@ public class AccountSocialBean {
}
// Removing last social provider is not possible if you don't have other possibility to authenticate
this.removeLinkPossible = availableLinks > 1 || realm.getAuthenticationLink(user) != null;
this.removeLinkPossible = availableLinks > 1 || user.getAuthenticationLink() != null;
}
private SocialLinkModel getSocialLink(Set<SocialLinkModel> userSocialLinks, String socialProviderId) {