Pārlūkot izejas kodu

JWT get 参数问题 #I5CTG4

#I5CTG4
MaxKey 3 gadi atpakaļ
vecāks
revīzija
e22f85e90f

+ 0 - 15
maxkey-webs/maxkey-web-maxkey/src/main/resources/templates/views/authorize/jwt_sso_submint.ftl

@@ -5,32 +5,17 @@
   <title>JWT Single Sign-On</title>
 
 </head>
-
 <body  onload="document.forms[0].submit()"  style="display:none">
-<#if 'post'==tokenType>
     <form id="jwt_sso_form" name="jwt_sso_form" action="${action}" method="${tokenType}">
         <table style="width:100%">
             <tr>
                 <td>token</td>
                 <td><input type="text" id="tokenbased_token" name="${jwtName}" value="${token}" /></td>
             </tr>
-            
             <tr>
                 <td colspan="2"><input type="submit"  name="submitBtn" value="Continue..." /></td>
             </tr>
         </table>
     </form>
-</#if>
-
-<#if 'get'==tokenType>
-    <form id="jwt_sso_form" name="jwt_sso_form" action="${action}?${jwtName}=${token}" method="${tokenType}">
-        <table style="width:100%">
-            <tr>
-                <td colspan="2"><input type="submit"  name="submitBtn" value="Continue..." /></td>
-            </tr>
-        </table>
-    </form>
-</#if>
-
 </body>
 </html>