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=92b91104986b28919e4a3603ce1bc7fbde0b8fbb;hpb=615fb7c0fec9ec6f187a3c568cf1e2e6c1572b1e 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));