Removed the global lock

This commit is contained in:
Jamie Rees 2019-03-29 14:47:17 +00:00
commit c4aa053de9
2 changed files with 1 additions and 39 deletions

View file

@ -158,7 +158,7 @@ namespace Ombi.Core.Authentication
if (!email.Equals(result.User?.Email))
{
user.Email = result.User?.Email;
await GlobalMutex.Lock(async () => await UpdateAsync(user));
await UpdateAsync(user);
}
return true;