- Updated the VPN configuration commands and handlers to eliminate the device limit parameter, simplifying the configuration process. - Adjusted related API documentation to reflect the removal of device limit management, clarifying that this setting is now handled directly in the 3x-ui by node administrators. - Enhanced the overall codebase by removing unnecessary device limit references across various components, ensuring a cleaner and more maintainable code structure.
12 lines
272 B
C#
12 lines
272 B
C#
using FluentValidation;
|
|
|
|
namespace PnvPanel.Application.Configs.Edit;
|
|
|
|
public sealed class EditVpnConfigCommandValidator : AbstractValidator<EditVpnConfigCommand>
|
|
{
|
|
public EditVpnConfigCommandValidator()
|
|
{
|
|
RuleFor(x => x.Label).MaximumLength(100);
|
|
}
|
|
}
|