From 5666721d1d071937fba83ba5778ef618727001f9 Mon Sep 17 00:00:00 2001 From: River Tarnell Date: Wed, 7 Mar 2007 22:09:24 +0000 Subject: [PATCH] null password is acceptable for postgres using sameident --- config/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.20.1