File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ public static IHostBuilder CreateHostBuilder(string[] args) =>
2222 } )
2323 . ConfigureLogging ( ( hostingContext , logging ) =>
2424 {
25- logging . ClearProviders ( ) ;
2625 logging . AddConfiguration ( hostingContext . Configuration . GetSection ( "Logging" ) ) ;
2726 logging . AddConsole ( ) ;
2827 logging . AddDebug ( ) ;
Original file line number Diff line number Diff line change 22using Microsoft . EntityFrameworkCore ;
33using PathfinderHonorManager . DataAccess ;
44using PathfinderHonorManager . Dto . Incoming ;
5+ using System ;
56using System . Text . RegularExpressions ;
67
78namespace PathfinderHonorManager . Validators
@@ -26,7 +27,7 @@ private void SetUpValidation()
2627 RuleFor ( c => c . ClubCode )
2728 . NotEmpty ( )
2829 . Length ( 4 , 20 )
29- . Matches ( new Regex ( "^[A-Z0-9]+$" ) )
30+ . Matches ( new Regex ( "^[A-Z0-9]+$" , RegexOptions . None , TimeSpan . FromMilliseconds ( 100 ) ) )
3031 . WithMessage ( "Club code must be between 4 and 20 characters and contain only uppercase letters and numbers." ) ;
3132
3233 RuleSet (
You can’t perform that action at this time.
0 commit comments