Преглед на файлове

Update custom consent page sample

Closes gh-802
wingzero преди 3 години
родител
ревизия
d5a57396a4
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      samples/custom-consent-authorizationserver/src/main/resources/templates/consent.html

+ 1 - 1
samples/custom-consent-authorizationserver/src/main/resources/templates/consent.html

@@ -39,7 +39,7 @@
     </div>
     <div class="row">
         <div class="col text-center">
-            <form name="consent_form" method="post" action="/oauth2/authorize">
+            <form name="consent_form" method="post" th:action="@{/oauth2/authorize}">
                 <input type="hidden" name="client_id" th:value="${clientId}">
                 <input type="hidden" name="state" th:value="${state}">