mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Auth middleware refinement (#11767)
* auth middleware group * dummy page for legacy php scripts instead of recursively calling init.php * Test and fix routing scenarios * fix api auth * disable unused auth routes
This commit is contained in:
@@ -80,4 +80,9 @@ class LegacyController extends Controller
|
||||
'refresh' => $no_refresh ? 0 : Config::get('page_refresh'),
|
||||
]);
|
||||
}
|
||||
|
||||
public function dummy()
|
||||
{
|
||||
return 'Dummy page';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user