Files
Heimdall/src/Heimdall.Application/Auth/Commands/Complete2faSetup/Complete2faSetupValidator.cs
T
arnaud.dartois 2bf3dbc95b
Heimdall Gitea / Detect CI scope (pull_request) Successful in 5s
Heimdall Gitea / Build and tests (pull_request) Successful in 20m8s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
Heimdall Gitea / Build and scan agent image (pull_request) Failing after 6m10s
Heimdall Gitea / Build and scan server image (pull_request) Failing after 8m2s
Heimdall Gitea / Publish Docker Hub latest tags (pull_request) Skipped
Heimdall Gitea / CI policy (pull_request) Failing after 2s
fix(identity): harden user lifecycle and permissions
2026-11-04 10:26:07 +01:00

9 lines
269 B
C#

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