Fixed bug #534107 - Superusers can't change password
This commit is contained in:
@@ -12,6 +12,9 @@ $Source$
|
|||||||
libraries/functions.js, lines 300-398: improved the "mark row" feature so
|
libraries/functions.js, lines 300-398: improved the "mark row" feature so
|
||||||
it can be used with the "pointer" one.
|
it can be used with the "pointer" one.
|
||||||
* finnish.inc.php3: $strFlushTable thanks to Visa Kopu.
|
* finnish.inc.php3: $strFlushTable thanks to Visa Kopu.
|
||||||
|
* user_password.php3, lines 16-18: fixed bug #534107 - Superusers can't
|
||||||
|
change password, thanks to
|
||||||
|
Matthias Fichtner <mfichtner at users.sourceforge.net>.
|
||||||
|
|
||||||
2002-03-22 Marc Delisle <lem9@users.sourceforge.net>
|
2002-03-22 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* finnish, norwegian updates
|
* finnish, norwegian updates
|
||||||
|
@@ -13,6 +13,9 @@ require('./libraries/common.lib.php3');
|
|||||||
* Displays an error message and exits if the user isn't allowed to use this
|
* Displays an error message and exits if the user isn't allowed to use this
|
||||||
* script
|
* script
|
||||||
*/
|
*/
|
||||||
|
if (!$cfgShowChgPassword) {
|
||||||
|
$cfgShowChgPassword = @mysql_query('USE mysql', $userlink);
|
||||||
|
}
|
||||||
if ($cfgServer['auth_type'] == 'config' || !$cfgShowChgPassword) {
|
if ($cfgServer['auth_type'] == 'config' || !$cfgShowChgPassword) {
|
||||||
include('./header.inc.php3');
|
include('./header.inc.php3');
|
||||||
echo '<p><b>' . $strError . '</b></p>' . "\n";
|
echo '<p><b>' . $strError . '</b></p>' . "\n";
|
||||||
|
Reference in New Issue
Block a user