A free open source IT asset/license management system
Fixed parse error in settings controller
snipe704c69671148
diff --git a/app/Http/Controllers/Api/SettingsController.php b/app/Http/Controllers/Api/SettingsController.phpindex 7530972f2b..a1b7bda5d7 100644--- a/app/Http/Controllers/Api/SettingsController.php+++ b/app/Http/Controllers/Api/SettingsController.php@@ -47,11 +47,11 @@ class SettingsController extends Controller];} catch (\Exception $ex) {return response()->json([- 'message' => 'Error logging into LDAP server, error: ' . $ex->getMessage() . ' - Verify your that your username and password are correct'- }+ 'message' => 'Error logging into LDAP server, error: ' . $ex->getMessage() . ' - Verify your that your username and password are correct']);+} catch (\Exception $e) {\Log::debug('Connection failed but we cannot debug it any further on our end.');- ], 400);+}Log::info('Preparing to test LDAP bind connection');