Skip to content

Commit

Permalink
Updated for new FORGOTPASSWORD behaviour.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jun 12, 2002
1 parent 040fd36 commit c4ac26d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions php_interface/IcculusNews.php
Expand Up @@ -489,9 +489,9 @@ function news_changepassword($sock, $pword)
} // news_changepassword


function news_forgotpassword($sock, $email)
function news_forgotpassword($sock, $user, $email)
{
fputs($sock, "FORGOTPASSWORD $email\n");
fputs($sock, "FORGOTPASSWORD \"$user\" \"$email\"\n");
$in = fgets($sock, 4096);
if ($in{0} != '+')
return(substr($in, 2));
Expand Down

0 comments on commit c4ac26d

Please sign in to comment.