From: River Tarnell Date: Wed, 7 Mar 2007 22:09:24 +0000 (+0000) Subject: null password is acceptable for postgres using sameident X-Git-Tag: 1.31.0-rc.0~53870 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=5666721d1d071937fba83ba5778ef618727001f9;p=lhc%2Fweb%2Fwiklou.git null password is acceptable for postgres using sameident --- diff --git a/config/index.php b/config/index.php index 0a73b19583..ab465b3ac6 100644 --- a/config/index.php +++ b/config/index.php @@ -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 ) {