summaryrefslogtreecommitdiffstats
path: root/include/user.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2009-02-13 23:40:26 -0800
committerArun Persaud <arun@nubati.net>2009-02-23 21:32:21 -0800
commitd661e260855977d34672388cfa8766de55a73f93 (patch)
tree4cf71a8f98d37a2adcf5d4cd97d06536eb86467b /include/user.php
parentf7e3acc9f015115707b7b6d59d8ebdb2522b9d0d (diff)
downloade-DoKo-d661e260855977d34672388cfa8766de55a73f93.tar.gz
e-DoKo-d661e260855977d34672388cfa8766de55a73f93.tar.bz2
e-DoKo-d661e260855977d34672388cfa8766de55a73f93.zip
CLEANUP: make emails more uniform
provide a standard header and footer. Also prepare for emails to be send to the database for later delivery.
Diffstat (limited to 'include/user.php')
-rw-r--r--include/user.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/user.php b/include/user.php
index 6cc9637..8855fc0 100644
--- a/include/user.php
+++ b/include/user.php
@@ -53,8 +53,9 @@ if(myisset("forgot"))
" $newpw \n".
"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";
- mymail($email,$EmailName."recovery ",$message);
+ "also still be valid until you set a new one.\n";
+ $subject = $EmailName.' Recovery';
+ sendmail($email,$subject,$message);
/* we save these in the database */
DB_set_recovery_password($myid,md5($newpw));