1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-18 03:28:15 -05:00

update error message

This commit is contained in:
Kyle Spearrin 2017-11-28 09:21:32 -05:00
parent 2f3c6b3b01
commit ec4eb6c3a0

View File

@ -350,7 +350,8 @@ namespace Bit.Api.Controllers
{ {
if(!_globalSettings.SelfHosted && model.Ids.Count() > 500) if(!_globalSettings.SelfHosted && model.Ids.Count() > 500)
{ {
throw new BadRequestException("You can only delete up to 500 items at a time."); throw new BadRequestException("You can only delete up to 500 items at a time. " +
"Consider using the \"Purge Vault\" option instead.");
} }
var userId = _userService.GetProperUserId(User).Value; var userId = _userService.GetProperUserId(User).Value;