Update controllers, fixes #2906
This commit is contained in:
parent
a1d7586be4
commit
ac6b3f07de
4 changed files with 18 additions and 18 deletions
|
@ -11,10 +11,6 @@ class ImportController extends Controller
|
|||
public function __construct()
|
||||
{
|
||||
$this->middleware('auth');
|
||||
|
||||
if(config_cache('pixelfed.import.instagram.enabled') != true) {
|
||||
abort(404, 'Feature not enabled');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue