summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorFelix Dörre <felix@dogcraft.de>2014-06-15 00:47:55 +0200
committerFelix Dörre <felix@dogcraft.de>2014-06-15 00:47:55 +0200
commit65c1e5797971988c9faa7fff6f6ad24162267f4d (patch)
tree9fa56d9de97957420aa3496ed4111e22e797149a /pages
parent6d0f414854b2c1aa1da9ec49889ac9bb3b69b966 (diff)
downloadcacert-devel-65c1e5797971988c9faa7fff6f6ad24162267f4d.tar.gz
cacert-devel-65c1e5797971988c9faa7fff6f6ad24162267f4d.tar.xz
cacert-devel-65c1e5797971988c9faa7fff6f6ad24162267f4d.zip
bug 612: add IP-Address and Time to "viewed secret questions"-message.
Diffstat (limited to 'pages')
-rw-r--r--pages/account/13.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/pages/account/13.php b/pages/account/13.php
index 080e277..90a3570 100644
--- a/pages/account/13.php
+++ b/pages/account/13.php
@@ -27,16 +27,17 @@
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("d.m.Y H:i:s T"))."\n\n";
$body .= _("Best regards")."\n"._("CAcert Support");