diff options
author | Jérôme Tamarelle <jerome@tamarelle.net> | 2011-02-15 00:10:41 +0100 |
---|---|---|
committer | Jérôme Tamarelle <jerome@tamarelle.net> | 2011-02-15 00:10:41 +0100 |
commit | e7327938e66f43615da3ec05a7f9a89d8dfc0c31 (patch) | |
tree | d65ce4244da670cf8b0e18f0e7b737fd865dd081 /inc/auth/mysql.class.php | |
parent | d8443bf1e374c48ffa9c075003ad0bf52353455e (diff) | |
download | rpg-e7327938e66f43615da3ec05a7f9a89d8dfc0c31.tar.gz rpg-e7327938e66f43615da3ec05a7f9a89d8dfc0c31.tar.bz2 |
Accept empty MySQL password for database auth.
Diffstat (limited to 'inc/auth/mysql.class.php')
-rw-r--r-- | inc/auth/mysql.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/auth/mysql.class.php b/inc/auth/mysql.class.php index dbdfe5fda..653c725a3 100644 --- a/inc/auth/mysql.class.php +++ b/inc/auth/mysql.class.php @@ -46,7 +46,7 @@ class auth_mysql extends auth_basic { // set capabilities based upon config strings set if (empty($this->cnf['server']) || empty($this->cnf['user']) || - empty($this->cnf['password']) || empty($this->cnf['database'])){ + !isset($this->cnf['password']) || empty($this->cnf['database'])){ if ($this->cnf['debug']) msg("MySQL err: insufficient configuration.",-1,__LINE__,__FILE__); $this->success = false; |