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
9 lines
269 B
C#
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);
|
|
}
|