This commit is contained in:
Jamie Rees 2019-03-26 12:12:58 +00:00
commit ee668dfd34
4 changed files with 20 additions and 22 deletions

View file

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