null password is acceptable for postgres using sameident
authorRiver Tarnell <river@users.mediawiki.org>
Wed, 7 Mar 2007 22:09:24 +0000 (22:09 +0000)
committerRiver Tarnell <river@users.mediawiki.org>
Wed, 7 Mar 2007 22:09:24 +0000 (22:09 +0000)
config/index.php

index 0a73b19..ab465b3 100644 (file)
@@ -522,7 +522,7 @@ if( $conf->Sitename == "" || $conf->Sitename == "MediaWiki" || $conf->Sitename =
 if( $conf->DBuser == "" ) {
        $errs["DBuser"] = "Must not be blank";
 }
-if( $conf->DBpassword == "" ) {
+if( $conf->DBpassword == "" && $conf->DBtype != "postgres" ) {
        $errs["DBpassword"] = "Must not be blank";
 }
 if( $conf->DBpassword != $conf->DBpassword2 ) {