magento login not works unless variens cookie parameter are disabled on core file
-
12-12-2019 - |
Question
I couldn't login to magento dashboard unless commenting these codes
$cookieParams = array(
'lifetime' => $cookie->getLifetime(),
'path' => $cookie->getPath(),
//'domain' => $cookie->getConfigDomain(),
//'secure' => $cookie->isSecure(),
//'httponly' => $cookie->getHttponly()
);
My admin values look like below
Solution
sorted out the issue somehow,
Reverted back original Varien.php. deleted rows look like %cookie%, %web/secure/base%, %web/unsecure/base% path from core_config_data. deleted local cookies. deleted var/cache and var/session folders
logged in again as fresh everything works fine now..
Hope it should help someone.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange