mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-23 13:41:31 +00:00
Return bad request instead of forbid when matchmaking is disabled
Prevents the game client from reauthenticating every time it requests /match
This commit is contained in:
parent
5035dbb63d
commit
be452270e3
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ public class MatchController : ControllerBase
|
|||
if (user == null) return this.Forbid();
|
||||
|
||||
// Do not allow matchmaking if it has been disabled
|
||||
if (!ServerConfiguration.Instance.Matchmaking.MatchmakingEnabled) return this.Forbid();
|
||||
if (!ServerConfiguration.Instance.Matchmaking.MatchmakingEnabled) return this.BadRequest();
|
||||
|
||||
#region Parse match data
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue