diff --git a/src/Controllers/Common/AuthenticationController.cs b/src/Controllers/Common/AuthenticationController.cs index 3fc5548..8e94a34 100644 --- a/src/Controllers/Common/AuthenticationController.cs +++ b/src/Controllers/Common/AuthenticationController.cs @@ -24,11 +24,14 @@ public class AuthenticationController : Controller { [Produces("application/xml")] [Route("v3/AuthenticationWebService.asmx/GetRules")] [EncryptResponse] - public IActionResult GetRules() { + public IActionResult GetRules([FromForm] string apiKey) { GetProductRulesResponse response = new GetProductRulesResponse { GlobalSecretKey = "11A0CC5A-C4DF-4A0E-931C-09A44C9966AE" }; + if (ClientVersion.GetVersion(apiKey) <= ClientVersion.WoJS_AdvLand) + response.GlobalSecretKey = "11A0CC5AC4DF4A0E931C09A44C9966AE"; // lands use different key format + return Ok(response); }