{"id":356,"date":"2019-01-04T09:27:46","date_gmt":"2019-01-04T08:27:46","guid":{"rendered":"https:\/\/wiki.ad-libitum.info\/?page_id=356"},"modified":"2019-01-04T09:30:30","modified_gmt":"2019-01-04T08:30:30","slug":"csrf","status":"publish","type":"page","link":"https:\/\/wiki.ad-libitum.info\/?page_id=356","title":{"rendered":"CSRF"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"disable-the-protection\">Disable the protection<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In some cases, you might want to disable the protection for the \nbackend or frontend. You can achieve this by setting the following \noptions in your <code>config.php<\/code>. By default, both options are set to <code>true<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>...\n'csrfProtection' => [\n    'frontend' => false,\n    'backend' => false\n],\n...\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Disable the protection In some cases, you might want to disable the protection for the backend or frontend. You can achieve this by setting the following options in your config.php. By default, both options are set to true.<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-356","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/wiki.ad-libitum.info\/index.php?rest_route=\/wp\/v2\/pages\/356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.ad-libitum.info\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wiki.ad-libitum.info\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.ad-libitum.info\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/wiki.ad-libitum.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=356"}],"version-history":[{"count":0,"href":"https:\/\/wiki.ad-libitum.info\/index.php?rest_route=\/wp\/v2\/pages\/356\/revisions"}],"wp:attachment":[{"href":"https:\/\/wiki.ad-libitum.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}