summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pages/account/13.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/pages/account/13.php b/pages/account/13.php
index 080e277..d468b3d 100644
--- a/pages/account/13.php
+++ b/pages/account/13.php
@@ -27,16 +27,19 @@
if($showdetails){
$body = sprintf(_("Hi %s,"),$user['fname'])."\n\n";
- $body .= _("You receive this automatic mail since you yourself or someone ".
+ $body .= sprintf(_("You receive this automatic mail since you yourself or someone ".
"else looked up your secret questions and answers for a forgotten ".
"password.\n\n".
+ "IP-Address: %s\nTime: %s\n\n".
"If it was you who looked up or changed that data, or clicked ".
"through the menu in your account, everything is in best order ".
"and you can ignore this mail.\n\n".
"But if you received this mail without a recognisable reason, ".
"there is a danger that an unauthorised person accessed your ".
"account, and you should promptly change your password and your ".
- "secret questions and answers.")."\n\n";
+ "secret questions and answers."),
+ $_SERVER['REMOTE_ADDR'],
+ date("Y-m-d H:i:s T"))."\n\n";
$body .= _("Best regards")."\n"._("CAcert Support");