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] Use SQL password only when authsource is mailcow

82eb3c64
FreddleSpl0it <[email protected]> 1 year, 5 months ago
data/web/inc/functions.auth.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Diff

diff --git a/data/web/inc/functions.auth.inc.php b/data/web/inc/functions.auth.inc.php
index 62329e30..8e695c35 100644
--- a/data/web/inc/functions.auth.inc.php
+++ b/data/web/inc/functions.auth.inc.php
@@ -277,7 +277,7 @@ function user_login($user, $pass, $extra = null){
       }
       return $result;
     break;
-    default:
+    case 'mailcow':
       // verify password
       if (verify_hash($row['password'], $pass) !== false) {
         // check for tfa authenticators