Skip to content

Commit

Permalink
Update to add a check ONLY for eduGAIN text
Browse files Browse the repository at this point in the history
  • Loading branch information
Sae126V committed Dec 1, 2023
1 parent 71bf308 commit 252eb82
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 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 @@ -136,8 +136,13 @@
Not a member?
</div>
<a class="btn btn-success btn-block" href="/start-registration">Apply for an account</a>
<c:if test="${loginPageConfiguration.samlEnabled}">
<a class="btn btn-success btn-block" href="/saml/login">Apply for an account with eduGAIN</a>
<c:if test="${
loginPageConfiguration.samlEnabled
&& iamSamlProperties.wayfLoginButton.visible
&& iamSamlProperties.wayfLoginButton.image.url.contains('edugain-logo.gif')
}">
<!-- WAYF login button -->
<a class="btn btn-success btn-block" href="/saml/login">Register an account with eduGAIN</a>
</c:if>
</div>
</c:if>
Expand Down

0 comments on commit 252eb82

Please sign in to comment.