summaryrefslogtreecommitdiff
path: root/Project-Unite/App_Start/IdentityConfig.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-04-13 09:54:37 -0400
committerMichael <[email protected]>2017-04-13 09:54:37 -0400
commitc5506fc9f9efcf960cced980230d6c038b226f1a (patch)
tree4ce5952ed2477a5e75fb660637a7f0b2e263e501 /Project-Unite/App_Start/IdentityConfig.cs
parentf03f01f3c95ea19168b5b18b3395aad661a24a2e (diff)
downloadproject-unite-c5506fc9f9efcf960cced980230d6c038b226f1a.tar.gz
project-unite-c5506fc9f9efcf960cced980230d6c038b226f1a.tar.bz2
project-unite-c5506fc9f9efcf960cced980230d6c038b226f1a.zip
Move email IP to audit summary
Diffstat (limited to 'Project-Unite/App_Start/IdentityConfig.cs')
-rw-r--r--Project-Unite/App_Start/IdentityConfig.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Project-Unite/App_Start/IdentityConfig.cs b/Project-Unite/App_Start/IdentityConfig.cs
index 30d7211..a317e22 100644
--- a/Project-Unite/App_Start/IdentityConfig.cs
+++ b/Project-Unite/App_Start/IdentityConfig.cs
@@ -41,7 +41,7 @@ namespace Project_Unite
sMsg.IsBodyHtml = true;
smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
var db = new ApplicationDbContext();
- db.AuditLogs.Add(new AuditLog("system", AuditLogLevel.Admin, $"Email sending...<br/><br/><strong>To:</strong> {sMsg.To}<br/><strong>Subject:</strong><br/>{sMsg.Subject}"));
+ db.AuditLogs.Add(new AuditLog("system", AuditLogLevel.Admin, $"Email sending...<br/><br/><strong>To:</strong> {sMsg.To}<br/><strong>Subject:</strong><br/>{sMsg.Subject}<br/><strong>Invoker IP:</strong>{HttpContext.Current.Request.UserHostAddress}"));
db.SaveChanges();
smtp.SendCompleted += async (o, a) =>
{