| Issue 67: | Forget Username and Password is invalid | |
| 1 person starred this issue and may be notified of changes. | Back to list |
The disaster database password forget/reminding system doesn't seem to be working.
Feb 23, 2012
Project Member
#1
hki...@nd.edu
Summary:
Forget Retrieval
Feb 23, 2012
(No comment was entered for this change.)
Summary:
Forget Username and Password is invalid
Mar 3, 2012
Fixed it. The forgot username wasn't working due to function stripslashes() being called twice in retrieveuserinfo2.php. Once explicitly and once through function "scrub_input()", from functions.php. The forgot password wasn't working due to the if statement on line 29 that originally had the parameters "$messages[0] || (errCount==1 && messages[1])". The $messages[0] always fired true due to validator being called on a blank $email (as you give it a username to retrieve the password). Thus $username was set to "BLANK" and the rest of the code threw errors.
Status:
Verified
|