This commit is contained in:
@@ -44,10 +44,10 @@ namespace AyaNova.Api.Controllers
|
||||
public ActionResult GetPreLoginPing()
|
||||
{
|
||||
//note: this route is called by the client to determine if it should display trial login ui
|
||||
//and to see if the server is contactable
|
||||
if (serverState.IsClosed)
|
||||
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
|
||||
return Ok(ApiOkResponse.Response(!AyaNova.Core.License.ActiveKey.TrialLicense));
|
||||
//offer a language selection up front and or see if the server is contactable
|
||||
// if (serverState.IsClosed)
|
||||
// return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
|
||||
return Ok(ApiOkResponse.Response(AyaNova.Core.License.ActiveKey.Status));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user