summaryrefslogtreecommitdiffstats
path: root/include/user.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2009-04-29 21:34:16 -0700
committerArun Persaud <arun@nubati.net>2009-04-29 21:34:16 -0700
commit03d6cd5ba13a0aac918734c1f797df4f149d9194 (patch)
tree852592c3d2f189d283cb1106bc4e4f67949a05e7 /include/user.php
parent26bcd1e5b01ca8575b513e12ce7bdd302614273c (diff)
downloade-DoKo-03d6cd5ba13a0aac918734c1f797df4f149d9194.tar.gz
e-DoKo-03d6cd5ba13a0aac918734c1f797df4f149d9194.tar.bz2
e-DoKo-03d6cd5ba13a0aac918734c1f797df4f149d9194.zip
CLEANUP: all email now uses the standard header and footer
some email functions didn't use myemail, but used sendmail directly. This is now fixed and all emails should have the same header and footer.
Diffstat (limited to 'include/user.php')
-rw-r--r--include/user.php4
1 files changed, 2 insertions, 2 deletions
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));