Custom Module Controller: Invalid security or form key. Please refresh the page

I have a custom module with an admin controller, but when I try to access from the administration page I get the following error: My controller is in Controller/Adminhtml/Login/Index.php class Index extends \Magento\Backend\App\Action {…} and the route decalaration in etc/adminhtml/routes.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:App/etc/routes.xsd”> <router id=”admin”> <route id=”oct” frontName=”oct”> <module name=”Oct_Oct” before=”Magento_Backend” /> </route>…

Custom Module Controller: Invalid security or form key. Please refresh the page

I have a custom module with an admin controller, but when I try to access from the administration page I get the following error: My controller is in Controller/Adminhtml/Login/Index.php class Index extends \Magento\Backend\App\Action {…} and the route decalaration in etc/adminhtml/routes.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:App/etc/routes.xsd”> <router id=”admin”> <route id=”oct” frontName=”oct”> <module name=”Oct_Oct” before=”Magento_Backend” /> </route>…