2026-11-04 10:26:07 +01:00
|
|
|
using FluentValidation;
|
|
|
|
|
|
|
|
|
|
namespace Heimdall.Application.Auth.Commands.Complete2faSetup;
|
|
|
|
|
|
|
|
|
|
public sealed class Complete2faSetupValidator : AbstractValidator<Complete2faSetupCommand>
|
|
|
|
|
{
|
|
|
|
|
public Complete2faSetupValidator() => RuleFor(x => x.Code).NotEmpty().Length(6);
|
|
|
|
|
}
|