Skip to content

Commit

Permalink
Add back in the login time
Browse files Browse the repository at this point in the history
  • Loading branch information
tidusjar committed Jul 2, 2019
1 parent 463faca commit efbc9c1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/Ombi/Controllers/TokenController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,14 @@ private async Task<IActionResult> CreateToken(bool rememberMe, OmbiUser user)
}

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
{
Expand Down

0 comments on commit efbc9c1

Please sign in to comment.