diff --git a/controllers/admin/AdminModulesController.php b/controllers/admin/AdminModulesController.php index 3b5dc24d6..b4d277280 100644 --- a/controllers/admin/AdminModulesController.php +++ b/controllers/admin/AdminModulesController.php @@ -211,6 +211,7 @@ class AdminModulesControllerCore extends AdminController Configuration::updateValue('PS_LOGGED_ON_ADDONS', 1); $this->context->cookie->username_addons = pSQL(trim(Tools::getValue('username_addons'))); $this->context->cookie->password_addons = pSQL(trim(Tools::getValue('password_addons'))); + $this->context->cookie->write(); } die($result); }