1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 00:22:50 -05:00

return org props for groups. error on del password

This commit is contained in:
Kyle Spearrin
2017-06-08 09:46:00 -04:00
parent f352ec808f
commit 151eae2f05
2 changed files with 7 additions and 1 deletions

View File

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