Page Menu
Home
Mnkras Phabricator
Search
Configure Global Search
Log In
Files
F679383
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
View Options
diff --git a/mail/login_notification.php b/mail/login_notification.php
index f50db64..1cc2ca6 100644
--- a/mail/login_notification.php
+++ b/mail/login_notification.php
@@ -1,53 +1,55 @@
<?php
defined('C5_EXECUTE') or die("Access Denied.");
$subject = t("%s - Login from a new computer", $sitename);
/**
* HTML BODY START
*/
ob_start();
?>
<h2><?php echo t('Login Notification'); ?></h2>
<?php echo t('Dear %s,', $uName); ?><br />
<br />
<?php echo t('Your account on %s as been logged in on a new computer.', $sitename); ?><br />
<br />
<?php echo t('Date and Time: %s', $date_time);?><br />
<?php echo t('User Agent: %s', $user_agent);?><br />
+ <?php echo t('IP Address: %s', $ip_address);?><br />
<br />
<?php echo t('If the information above looks familiar, you can disregard this email.'); ?><br />
<br />
<?php echo t('If you have not signed in to %s recently and believe someone may have accessed your account,
login to %s and change your password as soon as possible.', $sitename, $sitename); ?><br />
<?php
$bodyHTML = ob_get_clean();
/**
* HTML BODY END
*
* ======================
*
* PLAIN TEXT BODY START
*/
ob_start();
echo t('Login Notification');
echo t('Dear %s,', $uName);
echo t('Your account on %s as been logged in on a new computer.', $sitename);
echo t('Date and Time: %s', $date_time);
echo t('User Agent: %s', $user_agent);
+ echo t('IP Address: %s', $ip_address);
echo t('If the information above looks familiar, you can disregard this email.');
echo t('If you have not signed in to %s recently and believe someone may have accessed your account,
login to %s and change your password as soon as possible.', $sitename, $sitename);
$body = ob_get_clean();
ob_end_clean();
/**
* PLAIN TEXT BODY END
*/
\ No newline at end of file
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Dec 22, 3:44 PM (8 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
267604
Attached To
rLN Login Notification
Event Timeline
Log In to Comment