mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-28 16:08:38 +00:00
Fix account unlinking
This commit is contained in:
parent
5e08400170
commit
02f520c717
1 changed files with 1 additions and 0 deletions
|
@ -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.GameTokens.RemoveWhere(t => t.UserId == user.UserId && invalidTokens.Contains(t.Platform));
|
||||||
|
await this.database.SaveChangesAsync();
|
||||||
|
|
||||||
return this.Redirect("~/authentication");
|
return this.Redirect("~/authentication");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue