X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fuser.php;h=bac439895098d170ba6c86f12fdb93e4631b27ff;hp=0273183d0ba5a99b909f8319362ac91c82881527;hb=03d6cd5ba13a0aac918734c1f797df4f149d9194;hpb=26bcd1e5b01ca8575b513e12ce7bdd302614273c diff --git a/include/user.php b/include/user.php index 0273183..bac4398 100644 --- a/include/user.php +++ b/include/user.php @@ -54,8 +54,8 @@ if(myisset("forgot")) "to log into the server. The new password is valid for 24h, so make\n". "sure you reset your password to something new. Your old password will\n". "also still be valid until you set a new one.\n"; - $subject = $EmailName.' Recovery'; - sendmail($email,$subject,$message); + $subject = 'Recovery'; + mymail($myid,$subject,$message); /* we save these in the database */ DB_set_recovery_password($myid,md5($newpw));