Remove `{csrfToken}` from pageHeaderSearch
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 4 Mar 2022 10:49:50 +0000 (11:49 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 4 Mar 2022 10:49:50 +0000 (11:49 +0100)
The submission of the form is intercepted by WoltLabSuite/Core/Ui/Search/Page
and then converted into a GET redirect that does not contain the `t` parameter,
making it useless.

com.woltlab.wcf/templates/pageHeaderSearch.tpl

index 29097a6ab33bc3ef0e22764078d1b92a78b71f31..ec848a4cfde24a1b9fd93b583f250db70120c15e 100644 (file)
@@ -60,8 +60,6 @@
                        <div id="pageHeaderSearchParameters"></div>
                        
                        {if !$__searchStaticOptions|empty}{@$__searchStaticOptions}{/if}
-                       
-                       {csrfToken}
                </div>
        </form>
 </div>