mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 08:02:49 -05: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