소스 검색

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}">