1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-05 13:08:17 -05:00

Adding error and aligning message.

This commit is contained in:
jrmccannon 2025-03-28 12:27:49 -05:00
parent e78c9f65b4
commit 856374b3b2
No known key found for this signature in database
GPG Key ID: CF03F3DB01CE96A6
2 changed files with 7 additions and 1 deletions

View File

@ -22,3 +22,9 @@ public record PasswordManagerPlanOnlyAllowsMaxAdditionalSeatsError(PasswordManag
public const string Code = "Organization plan allows a maximum of {0} additional seats.";
}
public record PasswordManagerMustHaveSeatsError(PasswordManagerSubscriptionUpdate InvalidRequest)
: Error<PasswordManagerSubscriptionUpdate>(Code, InvalidRequest)
{
public const string Code = "You do not have any Password Manager seats!";
}

View File

@ -6,5 +6,5 @@ namespace Bit.Core.AdminConsole.OrganizationFeatures.OrganizationUsers.InviteUse
public record PaymentCancelledSubscriptionError(PaymentsSubscription InvalidRequest)
: Error<PaymentsSubscription>(Code, InvalidRequest)
{
public const string Code = "Cannot autoscale with a canceled subscription.";
public const string Code = "You do not have an active subscription. Reinstate your subscription to make changes.";
}