Magento Admin login failing in chrome browser

Edit the page appcodelocalMageCoreModelSessionAbstractVarien.php

Search for the code

if (isset($cookieParams[‘domain’])) {
$cookieParams[‘domain’] = $cookie->getDomain();
}

and replace with

if (isset($cookieParams[‘domain’]) && !in_array(“127.0.0.1”, self::getValidatorData())) {
$cookieParams[‘domain’] = $cookie->getDomain();
}

Share