aboutsummaryrefslogtreecommitdiffstats
path: root/mod/lostpass.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-07 17:29:30 -0800
committerFriendika <info@friendika.com>2010-11-07 17:29:30 -0800
commit9e35fb26f7aa6c61819f1536189c0102fed29ad9 (patch)
tree102ffc5c8ab15710c4f9a253831f2a9e5500c503 /mod/lostpass.php
parentd825db36497b1af43f0f58134702665f1ac1ab55 (diff)
downloadvolse-hubzilla-9e35fb26f7aa6c61819f1536189c0102fed29ad9.tar.gz
volse-hubzilla-9e35fb26f7aa6c61819f1536189c0102fed29ad9.tar.bz2
volse-hubzilla-9e35fb26f7aa6c61819f1536189c0102fed29ad9.zip
lint
Diffstat (limited to 'mod/lostpass.php')
-rw-r--r--mod/lostpass.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/lostpass.php b/mod/lostpass.php
index 0b5dc1376..30bdc059c 100644
--- a/mod/lostpass.php
+++ b/mod/lostpass.php
@@ -35,9 +35,8 @@ function lostpass_post(&$a) {
'$reset_link' => $a->get_baseurl() . '/lostpass?verify=' . $new_password
));
- $res = mail($email,"Password reset requested at {$a->config['sitename']}",$email_tpl,"From: Administrator@{$_SERVER[SERVER_NAME]}");
-
-
+ $res = mail($email, t('Password reset requested at ') . $a->config['sitename'],
+ $email_tpl, 'From: ' . t('Administrator') . '@' . $_SERVER[SERVER_NAME]);
goaway($a->get_baseurl());
}