NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

[Web] Fix catch block in LDAP connection test

82fcddb1
FreddleSpl0it <[email protected]> 1 year, 11 months ago
data/web/inc/functions.inc.php | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Diff

diff --git a/data/web/inc/functions.inc.php b/data/web/inc/functions.inc.php
index 3588d36e..fc703c35 100644
--- a/data/web/inc/functions.inc.php
+++ b/data/web/inc/functions.inc.php
@@ -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;