diff --git a/Model/Url.php b/Model/Url.php index 8948961..c1bf6f0 100644 --- a/Model/Url.php +++ b/Model/Url.php @@ -447,6 +447,13 @@ class Url extends \Magento\Framework\Url implements \Magento\Backend\Model\UrlIn 'data' => ['code' => 'admin', 'force_disable_rewrites' => false, 'disable_store_in_url' => true], ] ); + } else { + /** + * Patch admin password url incorrect with setting "web/url/use_store" = 1 + * Force option to disable store in url from url. + * Issue : https://github.com/magento/magento2/issues/35667 + */ + $this->_scope->setData("disable_store_in_url", true); } return $this->_scope; }