Fix auth_test.php debug (#14118)

This commit is contained in:
Tony Murray 2022-07-19 09:50:14 -05:00 committed by GitHub
parent f66ee182e3
commit 74a04e515c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);