Fixes issue preventing backend from signing in
This commit is contained in:
parent
7d3bac0bab
commit
a8aa85a9f0
|
|
@ -1,6 +1,7 @@
|
|||
<?php namespace Backend\Controllers;
|
||||
|
||||
use Redirect;
|
||||
use BackendAuth;
|
||||
use BackendMenu;
|
||||
use Backend\Classes\Controller;
|
||||
use Backend\Widgets\ReportContainer;
|
||||
|
|
@ -29,7 +30,9 @@ class Index extends Controller
|
|||
parent::__construct();
|
||||
|
||||
BackendMenu::setContextOwner('October.Backend');
|
||||
new ReportContainer($this);
|
||||
if (BackendAuth::check()) {
|
||||
new ReportContainer($this);
|
||||
}
|
||||
}
|
||||
|
||||
public function index()
|
||||
|
|
|
|||
Loading…
Reference in New Issue