1
0
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:
FreddleSpl0it 2024-09-02 10:12:51 +02:00
parent 320bd31d37
commit 82fcddb177
No known key found for this signature in database
GPG Key ID: 00E14E7634F4BEC5

View File

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