A wrong var name was affected during authentification
This commit is contained in:
@@ -5,6 +5,11 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$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>
|
||||
* merge User administration module thanks to Daniel Villanueva (dvilla)
|
||||
* small modifications to this module
|
||||
|
@@ -141,10 +141,10 @@ if($server == 0) {
|
||||
$PHP_AUTH_USER = $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')) {
|
||||
$REMOTE_USER = getenv('REMOTE_USER');
|
||||
$PHP_AUTH_USER = getenv('REMOTE_USER');
|
||||
}
|
||||
}
|
||||
// Grab the $PHP_AUTH_PW variable whatever are the values of the
|
||||
|
Reference in New Issue
Block a user