mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-23 02:04:46 +02:00
[Web] catch all exceptions on ldap connect
This commit is contained in:
parent
9561526f33
commit
916d0fd46a
@ -2395,7 +2395,7 @@ function identity_provider($_action, $_data = null, $_extra = null) {
|
||||
]);
|
||||
try {
|
||||
$provider->connect();
|
||||
} catch (TypeError $e) {
|
||||
} catch (Throwable $e) {
|
||||
$provider = null;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user