mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
Fix auth_test.php debug (#14118)
This commit is contained in:
parent
f66ee182e3
commit
74a04e515c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user