Fix account unlinking

This commit is contained in:
Slendy 2023-05-14 14:50:43 -05:00
parent 5e08400170
commit 02f520c717
No known key found for this signature in database
GPG key ID: 7288D68361B91428

View file

@ -39,6 +39,7 @@ public class AuthenticationController : ControllerBase
}
await this.database.GameTokens.RemoveWhere(t => t.UserId == user.UserId && invalidTokens.Contains(t.Platform));
await this.database.SaveChangesAsync();
return this.Redirect("~/authentication");
}