Browse Source

[Web] catch all exceptions on ldap connect

FreddleSpl0it 1 year ago
parent
commit
916d0fd46a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      data/web/inc/functions.inc.php

+ 1 - 1
data/web/inc/functions.inc.php

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