mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Debug pass-through exceptions for Ignition (#11773)
* pass-through exceptions for ignition * Warn when APP_DEBUG is enabled
This commit is contained in:
@@ -42,5 +42,9 @@ class Configuration extends BaseValidation
|
||||
if (Config::get('alerts.email.enable') == true) {
|
||||
$validator->warn('You have the old alerting system enabled - this is to be deprecated on the 1st of June 2015: https://groups.google.com/forum/#!topic/librenms-project/1llxos4m0p4');
|
||||
}
|
||||
|
||||
if (config('app.debug')) {
|
||||
$validator->warn('Debug enabled. This is a security risk.');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user