mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-29 08:28: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
|
@ -40,7 +40,7 @@ public class PublishController : ControllerBase
|
|||
public async Task<IActionResult> StartPublish()
|
||||
{
|
||||
GameTokenEntity token = this.GetToken();
|
||||
|
||||
|
||||
UserEntity? user = await this.database.UserFromGameToken(token);
|
||||
if (user == null) return this.Forbid();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue