1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-20 11:04:31 -05:00

Update deprecation message for register and prelogin (#2288)

This commit is contained in:
Oscar Hinton 2022-09-19 17:15:53 +02:00 committed by GitHub
parent d0c793c951
commit 893c4fbf6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
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]