diff --git a/WoWsShipBuilder.Web/Features/Authentication/AuthController.cs b/WoWsShipBuilder.Web/Features/Authentication/AuthController.cs index 68efdd70e..783bc0b83 100644 --- a/WoWsShipBuilder.Web/Features/Authentication/AuthController.cs +++ b/WoWsShipBuilder.Web/Features/Authentication/AuthController.cs @@ -53,7 +53,7 @@ public Task AuthenticationCanceled(string status, string message, return Task.FromResult(Redirect("/")); } - [HttpGet("login/{server}")] + [HttpGet("login/{server:regex(^eu|asia|com$):required}")] public Task Login(string server) { string baseUrl = $"{Request.Scheme}://{Request.Host}{Request.PathBase}";