mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2026-01-01 10:37:22 +01:00
Updated to v1.9.0
This commit is contained in:
@@ -13,6 +13,13 @@ use Illuminate\Support\Collection;
|
||||
|
||||
class SettingsController extends Controller
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
if((bool)SettingsHelper::get('auth')->value === true) {
|
||||
$this->middleware('auth:api')
|
||||
->except([ 'config' ]);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Return all settings
|
||||
|
||||
Reference in New Issue
Block a user