lint
This commit is contained in:
parent
d825db3649
commit
9e35fb26f7
5 changed files with 8 additions and 9 deletions
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue