Account merge ledger: link step refuses a frozen account (test), drop the redundant sync guard, accept a deadlock victim as the racing commit's loser
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f402eb13cc
commit
aa348d3b43
4 changed files with 37 additions and 7 deletions
|
|
@ -67,11 +67,6 @@ public sealed class MembershipSynchronizationService(
|
|||
|
||||
dbContext.UserAccounts.Add(userAccount);
|
||||
}
|
||||
else if (userAccount.Membership is { IsMerged: true })
|
||||
{
|
||||
// A folded account is terminal: sign-in rewrites nothing on it (the actor gate already makes it act as nobody).
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
userAccount.GitHubLogin = gitHubLogin;
|
||||
|
|
|
|||
Loading…
Reference in a new issue