From e572dcc528b95cc7cfc2475648d1e7558248e357 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 18 May 2017 13:13:45 -0400 Subject: [PATCH] gahhhhhhh --- Project-Unite/App_Start/IdentityConfig.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Project-Unite/App_Start/IdentityConfig.cs b/Project-Unite/App_Start/IdentityConfig.cs index 0adcd80..520f060 100644 --- a/Project-Unite/App_Start/IdentityConfig.cs +++ b/Project-Unite/App_Start/IdentityConfig.cs @@ -59,6 +59,7 @@ public Task SendAsync(IdentityMessage msg) string exc = sb.ToString(); var db = new ApplicationDbContext(); db.AuditLogs.Add(new AuditLog("system", AuditLogLevel.Admin, exc)); + db.SaveChanges(); } return Task.FromResult(result); }