Browse Source

Update deprecation message for register and prelogin (#2288)

pull/2290/head
Oscar Hinton 3 years ago committed by GitHub
parent
commit
893c4fbf6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/Api/Controllers/AccountsController.cs

6
src/Api/Controllers/AccountsController.cs

@ -67,8 +67,7 @@ public class AccountsController : Controller @@ -67,8 +67,7 @@ public class AccountsController : Controller
#region DEPRECATED (Moved to Identity Service)
// This method is still used by self hosted intalls
[Obsolete("2022-01-12 Moved to Identity, left for backwards compatability with older clients.")]
[Obsolete("TDL-136 Moved to Identity (2022-01-12 cloud, 2022-09-19 self-hosted), left for backwards compatability with older clients.")]
[HttpPost("prelogin")]
[AllowAnonymous]
public async Task<PreloginResponseModel> PostPrelogin([FromBody] PreloginRequestModel model)
@ -85,8 +84,7 @@ public class AccountsController : Controller @@ -85,8 +84,7 @@ public class AccountsController : Controller
return new PreloginResponseModel(kdfInformation);
}
// This method is still used by self hosted intalls
[Obsolete("2022-01-12 Moved to Identity, left for backwards compatability with older clients.")]
[Obsolete("TDL-136 Moved to Identity (2022-01-12 cloud, 2022-09-19 self-hosted), left for backwards compatability with older clients.")]
[HttpPost("register")]
[AllowAnonymous]
[CaptchaProtected]

Loading…
Cancel
Save