1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-12-21 13:51:29 +00:00

[Web] catch all exceptions on ldap connect

This commit is contained in:
FreddleSpl0it
2024-02-23 08:12:06 +01:00
parent 9561526f33
commit 916d0fd46a

View File

@@ -2395,7 +2395,7 @@ function identity_provider($_action, $_data = null, $_extra = null) {
]); ]);
try { try {
$provider->connect(); $provider->connect();
} catch (TypeError $e) { } catch (Throwable $e) {
$provider = null; $provider = null;
} }
} }