mirror of
https://github.com/bitwarden/server.git
synced 2025-05-20 19:14:32 -05:00
Update deprecation message for register and prelogin (#2288)
This commit is contained in:
parent
d0c793c951
commit
893c4fbf6c
@ -67,8 +67,7 @@ public class AccountsController : Controller
|
|||||||
|
|
||||||
#region DEPRECATED (Moved to Identity Service)
|
#region DEPRECATED (Moved to Identity Service)
|
||||||
|
|
||||||
// This method is still used by self hosted intalls
|
[Obsolete("TDL-136 Moved to Identity (2022-01-12 cloud, 2022-09-19 self-hosted), left for backwards compatability with older clients.")]
|
||||||
[Obsolete("2022-01-12 Moved to Identity, left for backwards compatability with older clients.")]
|
|
||||||
[HttpPost("prelogin")]
|
[HttpPost("prelogin")]
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
public async Task<PreloginResponseModel> PostPrelogin([FromBody] PreloginRequestModel model)
|
public async Task<PreloginResponseModel> PostPrelogin([FromBody] PreloginRequestModel model)
|
||||||
@ -85,8 +84,7 @@ public class AccountsController : Controller
|
|||||||
return new PreloginResponseModel(kdfInformation);
|
return new PreloginResponseModel(kdfInformation);
|
||||||
}
|
}
|
||||||
|
|
||||||
// This method is still used by self hosted intalls
|
[Obsolete("TDL-136 Moved to Identity (2022-01-12 cloud, 2022-09-19 self-hosted), left for backwards compatability with older clients.")]
|
||||||
[Obsolete("2022-01-12 Moved to Identity, left for backwards compatability with older clients.")]
|
|
||||||
[HttpPost("register")]
|
[HttpPost("register")]
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
[CaptchaProtected]
|
[CaptchaProtected]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user