mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-26 15:08:39 +00:00
Remove remaining code from before middleware
This commit is contained in:
parent
3fb598ec44
commit
048f60cd9d
7 changed files with 7 additions and 31 deletions
|
@ -31,9 +31,6 @@ public class EnterLevelController : ControllerBase
|
|||
{
|
||||
GameTokenEntity token = this.GetToken();
|
||||
|
||||
UserEntity? user = await this.database.UserFromGameToken(token);
|
||||
if (user == null) return this.Unauthorized();
|
||||
|
||||
if (SlotHelper.IsTypeInvalid(slotType)) return this.BadRequest();
|
||||
|
||||
// don't count plays for developer slots
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue