mirror of
https://github.com/bitwarden/server.git
synced 2025-02-25 03:21:46 +01:00
update error message
This commit is contained in:
parent
2f3c6b3b01
commit
ec4eb6c3a0
@ -350,7 +350,8 @@ namespace Bit.Api.Controllers
|
||||
{
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user