A wrong var name was affected during authentification

This commit is contained in:
Loïc Chapeaux
2001-06-02 12:41:55 +00:00
parent 080b793c00
commit c1e0a9af1e
2 changed files with 11 additions and 6 deletions

View File

@@ -5,6 +5,11 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2001-06-02 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* users_details.lib.php3: fixed some typos, warnings and little bugs
* lib.inc.php3, lines 144 & 147: wrong var names
* main.php3, line 135: replaced a 'mysql_db_query'
2001-06-01 Marc Delisle <lem9@users.sourceforge.net> 2001-06-01 Marc Delisle <lem9@users.sourceforge.net>
* merge User administration module thanks to Daniel Villanueva (dvilla) * merge User administration module thanks to Daniel Villanueva (dvilla)
* small modifications to this module * small modifications to this module

View File

@@ -141,10 +141,10 @@ if($server == 0) {
$PHP_AUTH_USER = $REMOTE_USER; $PHP_AUTH_USER = $REMOTE_USER;
} }
else if (!empty($HTTP_ENV_VARS) && isset($HTTP_ENV_VARS['REMOTE_USER'])) { else if (!empty($HTTP_ENV_VARS) && isset($HTTP_ENV_VARS['REMOTE_USER'])) {
$REMOTE_USER = $HTTP_ENV_VARS['REMOTE_USER']; $PHP_AUTH_USER = $HTTP_ENV_VARS['REMOTE_USER'];
} }
else if (@getenv('REMOTE_USER')) { else if (@getenv('REMOTE_USER')) {
$REMOTE_USER = getenv('REMOTE_USER'); $PHP_AUTH_USER = getenv('REMOTE_USER');
} }
} }
// Grab the $PHP_AUTH_PW variable whatever are the values of the // Grab the $PHP_AUTH_PW variable whatever are the values of the