Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Commit

Permalink
fix: Do not log message when a field is not mapped on an identity pro…
Browse files Browse the repository at this point in the history
…vider

Closes gravitee-io/issues#3016
  • Loading branch information
aelamrani committed Dec 13, 2019
1 parent b27b9b8 commit 833497c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -336,7 +336,7 @@ private HashMap<String, String> getUserProfileAttrs(Map<String, String> userProf
String field = entry.getKey();
String mapping = entry.getValue();

if (mapping != null) {
if (mapping != null && !mapping.isEmpty()) {
try {
if (mapping.contains("{#")) {
map.put(field, templateEngine.convert(mapping));
Expand Down

0 comments on commit 833497c

Please sign in to comment.