Files
Heimdall/src/Heimdall.Application/Auth/Commands/Complete2faSetup/Complete2faSetupValidator.cs
T

8 lines
269 B
C#
Raw Normal View History

using FluentValidation;
namespace Heimdall.Application.Auth.Commands.Complete2faSetup;
public sealed class Complete2faSetupValidator : AbstractValidator<Complete2faSetupCommand>
{
public Complete2faSetupValidator() => RuleFor(x => x.Code).NotEmpty().Length(6);
}