mirror of
https://github.com/bitwarden/server
synced 2025-12-12 22:33:45 +00:00
return org props for groups. error on del password
This commit is contained in:
@@ -230,8 +230,8 @@ namespace Bit.Api.Controllers
|
||||
|
||||
if(!await _userManager.CheckPasswordAsync(user, model.MasterPasswordHash))
|
||||
{
|
||||
ModelState.AddModelError("MasterPasswordHash", "Invalid password.");
|
||||
await Task.Delay(2000);
|
||||
throw new BadRequestException("MasterPasswordHash", "Invalid password.");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user