Remove remaining code from before middleware

This commit is contained in:
FeTetra 2025-02-17 08:23:00 -05:00
commit 048f60cd9d
7 changed files with 7 additions and 31 deletions

View file

@ -39,6 +39,7 @@ public class MatchController : ControllerBase
public async Task<IActionResult> Match()
{
GameTokenEntity token = this.GetToken();
UserEntity? user = await this.database.UserFromGameToken(token);
if (user == null) return this.Unauthorized();