mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Keeps the dashboard sessions from expiring. Route dashboard ajax calls through Laravel. Boots minimal cookies and sessions. Does not fix other pages for now, real fix is to fully port. * Check Laravel auth for the legacy calls. Display Laravel errors in the dashboard. legacy auth checks are mostly extraneous now.
7 lines
147 B
PHP
7 lines
147 B
PHP
<?php
|
|
|
|
|
|
Route::group(['middleware' => ['auth'], 'guard' => 'auth'], function () {
|
|
Route::any('legacy_ajax_dash', 'LegacyController@dash');
|
|
});
|