Update controllers, fixes #2906

This commit is contained in:
Daniel Supernault 2021-09-10 21:44:29 -06:00
parent a1d7586be4
commit ac6b3f07de
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
4 changed files with 18 additions and 18 deletions

View file

@ -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');
}
}
}