// Fix hard coded ID in AdminAccess controller
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13650 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
class AdminAccessControllerCore extends AdminController
|
class AdminAccessControllerCore extends AdminController
|
||||||
{
|
{
|
||||||
/* Black list of id_tab that do not have access */
|
/* Black list of id_tab that do not have access */
|
||||||
public $accesses_black_list = array(107);
|
public $accesses_black_list = array();
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
@@ -37,6 +37,9 @@ class AdminAccessControllerCore extends AdminController
|
|||||||
$this->lang = false;
|
$this->lang = false;
|
||||||
$this->context = Context::getContext();
|
$this->context = Context::getContext();
|
||||||
|
|
||||||
|
// Blacklist AdminLogin
|
||||||
|
$this->accesses_black_list[] = Tab::getIdFromClassName('AdminLogin');
|
||||||
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user