Skip to content

Commit

Permalink
feat(jans-auth-server): corrected GluuOrganization - refactor getOrga…
Browse files Browse the repository at this point in the history
…nizationName() #2947 (#2948)
  • Loading branch information
yuriyz authored and pujavs committed Nov 10, 2022
1 parent 22a8277 commit dc9d6e3
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import org.apache.tika.utils.StringUtils;

import java.io.Serializable;

/**
Expand Down Expand Up @@ -89,13 +91,6 @@ public void setJsFaviconPath(String jsFaviconPath) {
this.jsFaviconPath = jsFaviconPath;
}

public String getOrganizationTitle() {
if (title == null || title.trim().equals("")) {
return "Gluu";
}
return title;
}

public String getCountryName() {
return countryName;
}
Expand Down Expand Up @@ -177,6 +172,9 @@ public void setThemeColor(String themeColor) {
}

public String getTitle() {
if (StringUtils.isBlank(title)) {
title = "Gluu";
}
return title;
}

Expand Down

0 comments on commit dc9d6e3

Please sign in to comment.