[-] BO: Fix connection with Addons on AdminModules
This commit is contained in:
@@ -211,6 +211,7 @@ class AdminModulesControllerCore extends AdminController
|
|||||||
Configuration::updateValue('PS_LOGGED_ON_ADDONS', 1);
|
Configuration::updateValue('PS_LOGGED_ON_ADDONS', 1);
|
||||||
$this->context->cookie->username_addons = pSQL(trim(Tools::getValue('username_addons')));
|
$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->password_addons = pSQL(trim(Tools::getValue('password_addons')));
|
||||||
|
$this->context->cookie->write();
|
||||||
}
|
}
|
||||||
die($result);
|
die($result);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user