mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix auth_test.php debug (#14118)
This commit is contained in:
@ -17,13 +17,13 @@ if (isset($options['h']) || (! isset($options['l']) && ! isset($options['u'])))
|
||||
exit;
|
||||
}
|
||||
|
||||
$init_modules = [];
|
||||
require realpath(__DIR__ . '/..') . '/includes/init.php';
|
||||
|
||||
if (isset($options['d'])) {
|
||||
Debug::set();
|
||||
}
|
||||
|
||||
$init_modules = [];
|
||||
require realpath(__DIR__ . '/..') . '/includes/init.php';
|
||||
|
||||
if (isset($options['v'])) {
|
||||
// Enable debug mode for auth methods that have it
|
||||
Config::set('auth_ad_debug', 1);
|
||||
|
Reference in New Issue
Block a user