I meet a problem with magento 1.9.2.3, an error message appears when I connect with my custom admin form.
I created a module and I duplicated the customer/account/login page for my users role.
<?xml version="1.0"?> <config> <modules> <Custom_Page> <active>true</active> <codePool>local</codePool> </Custom_Page> </modules> </config> my config.xml:
<?xml version="1.0"?> <config> <global> <page> <layouts> <Custom_Page> <label>User Login</label> <template>page/user_login.phtml</template> </Custom_Page> </layouts> </page> </global> </config> No problem with old magento version.
But with 1.9.2.3: The Invalid Form Key. Please refresh the page appears.
NOTE: If I replace the old Observer.php it's done:
www\app\code\core\Mage\Admin\Model\Observer.php
But I think it's not serious to replace the new Observer.php with the old.
EDIT: My user_login.phtml contains an input form_key.
<form action="/admin" method="post" id="login-form"> <input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>"/> Thanks for your help.