username in password-reset
Using the user-password-reset.php template page the <?php echo htmlencode( $GLOBALS['user']['username'] ); ?> don't showing the desired username when i post valid userNum & ReserCode to it. The username field remain blank.
How the $GLOBALS['user']['username'] getting the variable?
It's this line of the code that gets the user from the database:
$user = mysql_get(accountsTable(), @$_REQUEST['userNum']);
Maybe try replace $GLOBALS['user']['username'] with $user['username'] and see if it's giving you the correct username?
Let me know if it works.