X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fuser.php;h=2c3afeb33b01d4f99f3136c292fae1072c4a895a;hp=e8d38f7c3770026b7915b444222101058d157e91;hb=6da798e39be09e3cea651be2c7d826b79450a1f8;hpb=21f25368b52c73be131cf3ad2d0cb7d1a567eb2a diff --git a/include/user.php b/include/user.php index e8d38f7..2c3afeb 100644 --- a/include/user.php +++ b/include/user.php @@ -75,8 +75,7 @@ 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 = 'Recovery'; - mymail($myid,$subject,$message); + mymail($myid,0, GAME_RECOVERY, $message); /* we save these in the database */ DB_set_recovery_password($myid,md5($newpw));