Refactor condition to show client secret field in OAuth
}
if (oauthConsumerSecret != null) {
%>
- <% if (!((isHashDisabled != null && !isHashDisabled.isEmpty() && isHashDisabled.equals("false")) || appBean.getOauthConsumerSecret() == null)) { %>
+ <% if (!(appBean.getOauthConsumerSecret() == null || "false".equals(isHashDisabled))) { %>
<div>
<input style="border: none; background: white;"
type="password" autocomplete="off"
