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:
parent
2f3c6b3b01
commit
ec4eb6c3a0
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user