diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-08-30 21:21:16 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-08-30 21:21:16 +0000 |
commit | 1d004b925f9e858fcdc491da63efefb52173042c (patch) | |
tree | 77002d3de006a681097d976766116cba70cbd0fe /phpBB/includes/auth/auth_apache.php | |
parent | 6f1d6e92460316e9d602fdf1b7466d4ad886564b (diff) | |
download | forums-1d004b925f9e858fcdc491da63efefb52173042c.tar forums-1d004b925f9e858fcdc491da63efefb52173042c.tar.gz forums-1d004b925f9e858fcdc491da63efefb52173042c.tar.bz2 forums-1d004b925f9e858fcdc491da63efefb52173042c.tar.xz forums-1d004b925f9e858fcdc491da63efefb52173042c.zip |
necessary changes...
git-svn-id: file:///svn/phpbb/trunk@8072 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/auth/auth_apache.php')
-rw-r--r-- | phpBB/includes/auth/auth_apache.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/phpBB/includes/auth/auth_apache.php b/phpBB/includes/auth/auth_apache.php index 4c8293c707..25631e9f87 100644 --- a/phpBB/includes/auth/auth_apache.php +++ b/phpBB/includes/auth/auth_apache.php @@ -36,6 +36,15 @@ function login_apache(&$username, &$password) { global $db; + // do not allow empty password + if (!$password) + { + return array( + 'status' => LOGIN_BREAK, + 'error_msg' => 'NO_PASSWORD_SUPPLIED', + ); + } + if (!isset($_SERVER['PHP_AUTH_USER'])) { return array( |