mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-08 04:05:03 +02:00
[Web] Fix catch block in LDAP connection test
This commit is contained in:
parent
320bd31d37
commit
82fcddb177
@ -2373,9 +2373,7 @@ function identity_provider($_action = null, $_data = null, $_extra = null) {
|
||||
]);
|
||||
try {
|
||||
$provider->connect();
|
||||
} catch (TypeError $e) {
|
||||
return false;
|
||||
} catch (\LdapRecord\Auth\BindException $e) {
|
||||
} catch (Throwable $e) {
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user