diff options
Diffstat (limited to 'basicConfig/ms-connector/templates/other_login_method.html')
-rw-r--r-- | basicConfig/ms-connector/templates/other_login_method.html | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/basicConfig/ms-connector/templates/other_login_method.html b/basicConfig/ms-connector/templates/other_login_method.html index 120b0ecd..d392a553 100644 --- a/basicConfig/ms-connector/templates/other_login_method.html +++ b/basicConfig/ms-connector/templates/other_login_method.html @@ -124,20 +124,33 @@ <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"> <!-- Abbrechen Button --> <form class="block,singleButton" method="post" action="$contextPath$submitEndpoint" th:attr="action=@{${submitEndpoint}}"> <button type="submit" value="Abbrechen/Cancel" th:text="#{gui.otherlogin.cancel}"></button> - <input type="hidden" name="stopAuthProcess" value="true"> + <input type="hidden" name="loginSelection" value="STOP_MATCHING_PROCESS"> <input type="hidden" name="pendingid" value="$pendingid" th:attr="value=${pendingid}"> </form> </div> |