Add back in the login time

This commit is contained in:
tidusjar 2019-07-02 10:22:44 +01:00
commit efbc9c1441

View file

@ -150,7 +150,14 @@ namespace Ombi.Controllers
}
user.LastLoggedIn = DateTime.UtcNow;
//await GlobalMutex.Lock(async () => await _userManager.UpdateAsync(user)).ConfigureAwait(false);
try
{
await _userManager.UpdateAsync(user);
}
catch (Exception)
{
}
return new JsonResult(new
{