diff options
author | Thomas <> | 2022-07-01 14:27:19 +0200 |
---|---|---|
committer | Thomas <> | 2022-07-01 14:27:19 +0200 |
commit | 847e3f5b52a7adc6baa463258087e562049ee89b (patch) | |
tree | 30dc56bfb67410d2a2cfb6621fdf8bf19be266c8 /basicConfig | |
parent | e0e2f3b5bd3f075cd74825d49c81152c75bc6430 (diff) | |
download | National_eIDAS_Gateway-847e3f5b52a7adc6baa463258087e562049ee89b.tar.gz National_eIDAS_Gateway-847e3f5b52a7adc6baa463258087e562049ee89b.tar.bz2 National_eIDAS_Gateway-847e3f5b52a7adc6baa463258087e562049ee89b.zip |
feat(matching): add configuration property to disable 'matching-by-address-search'
Diffstat (limited to 'basicConfig')
-rw-r--r-- | basicConfig/templates/other_login_method.html | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/basicConfig/templates/other_login_method.html b/basicConfig/templates/other_login_method.html index 120b0ecd..c5bc9668 100644 --- a/basicConfig/templates/other_login_method.html +++ b/basicConfig/templates/other_login_method.html @@ -124,13 +124,26 @@ <input type="hidden" name="loginSelection" value="EIDAS_LOGIN"> <input type="hidden" name="pendingid" value="$pendingid" th:attr="value=${pendingid}"/> </form> - <form method="post" action="$contextPath$submitEndpoint" th:attr="action=@{${submitEndpoint}}"> + + + + <form th:if="${enableMatchingByAddressSearch != null} and ${enableMatchingByAddressSearch}" + method="post" action="$contextPath$submitEndpoint" th:attr="action=@{${submitEndpoint}}"> <button class="primaryButton" type="submit" role="button" value="Keine weitere HS / eIDAS" th:text="#{gui.otherlogin.button.none}">C </button> <input type="hidden" name="loginSelection" value="NO_OTHER_LOGIN"> <input type="hidden" name="pendingid" value="$pendingid" th:attr="value=${pendingid}"/> </form> + <form th:unless="${enableMatchingByAddressSearch != null} and ${enableMatchingByAddressSearch}" + method="post" action="$contextPath$submitEndpoint" th:attr="action=@{${submitEndpoint}}"> + <button class="primaryButton" type="submit" role="button" value="Keine weitere HS / eIDAS" + th:text="#{gui.otherlogin.button.none}">C + </button> + <input type="hidden" name="loginSelection" value="REQUESTING_NEW_ENTRY"> + <input type="hidden" name="pendingid" value="$pendingid" th:attr="value=${pendingid}"/> + </form> + </div> <div id="stopMatching" class="block"> |