为什么我无法使用 google chrome 登录到 magento 2 后端

Why I can not login to magento 2 backend using google chrome

我正在使用 magento 社区版 2。我无法登录到 magento 的后端。我知道这个问题可能是因为 chrome 不接受 cookie。在以前的版本(Magento 1.9.1、1.9.0 等)中,我通常转到 app/code/core/Mage/Core/Model/Session/Abstract/Varien.php 文件并注释以下行以修复上述 chrome 浏览器问题,

$this->getCookie()->getDomain(), 
$this->getCookie()->isSecure(), 
$this->getCookie()->getHttponly()

但是 Magento 2 文件夹结构不同。 我该如何解决这个问题。

使用其他浏览器将 cookie 时间和 HTTPS 设置设置为正确的值。您现在应该可以再次使用 Chrome。