mirror of
https://github.com/bitwarden/server
synced 2025-12-14 07:13:39 +00:00
Protect user registration with captcha (#1480)
* Protect user registration with captcha * PR feedback
This commit is contained in:
@@ -83,6 +83,7 @@ namespace Bit.Api.Controllers
|
||||
|
||||
[HttpPost("register")]
|
||||
[AllowAnonymous]
|
||||
[CaptchaProtected]
|
||||
public async Task PostRegister([FromBody]RegisterRequestModel model)
|
||||
{
|
||||
var result = await _userService.RegisterUserAsync(model.ToUser(), model.MasterPasswordHash,
|
||||
|
||||
Reference in New Issue
Block a user