Skip to content

Commit

Permalink
Update checks to be consistent and simple
Browse files Browse the repository at this point in the history
  • Loading branch information
Sae126V committed Dec 5, 2023
1 parent 5eae0b1 commit 8234f56
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions iam-login-service/src/main/webapp/WEB-INF/views/iam/login.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@
<c:if
test="${
(
loginPageConfiguration.localAuthenticationVisible
or param.sll != null
) && loginPageConfiguration.defaultLoginPageLayout
loginPageConfiguration.localAuthenticationVisible
or param.sll != null
) and loginPageConfiguration.defaultLoginPageLayout
}"
>
<jsp:include page="login-form.jsp" />
Expand All @@ -87,9 +87,9 @@
<c:if
test="${
!loginPageConfiguration.defaultLoginPageLayout
|| (
!loginPageConfiguration.localAuthenticationVisible
&& (param.sll == null or !loginPageConfiguration.defaultLoginPageLayout)
or (
!loginPageConfiguration.localAuthenticationVisible
and param.sll == null
)
}"
>
Expand All @@ -104,13 +104,11 @@
<c:choose>
<c:when
test="${
(
loginPageConfiguration.localAuthenticationVisible
&& loginPageConfiguration.defaultLoginPageLayout
) || (
loginPageConfiguration.defaultLoginPageLayout
&& param.sll != null
)
loginPageConfiguration.defaultLoginPageLayout
and (
loginPageConfiguration.localAuthenticationVisible
or param.sll != null
)
}"
>
Or sign in with
Expand Down Expand Up @@ -188,9 +186,9 @@
<c:if
test="${
(
loginPageConfiguration.localAuthenticationVisible
or param.sll != null
) && !loginPageConfiguration.defaultLoginPageLayout
loginPageConfiguration.localAuthenticationVisible
or param.sll != null
) and !loginPageConfiguration.defaultLoginPageLayout
}"
>
<jsp:include page="login-form.jsp" />
Expand Down

0 comments on commit 8234f56

Please sign in to comment.