mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Fixed parse error in settings controller
This commit is contained in:
parent
5065164c40
commit
704c696711
|
@ -47,11 +47,11 @@ class SettingsController extends Controller
|
||||||
];
|
];
|
||||||
} catch (\Exception $ex) {
|
} catch (\Exception $ex) {
|
||||||
return response()->json([
|
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) {
|
} catch (\Exception $e) {
|
||||||
\Log::debug('Connection failed but we cannot debug it any further on our end.');
|
\Log::debug('Connection failed but we cannot debug it any further on our end.');
|
||||||
], 400);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Log::info('Preparing to test LDAP bind connection');
|
Log::info('Preparing to test LDAP bind connection');
|
||||||
|
|
Loading…
Reference in a new issue