Fixing sonarcloud issues
This commit is contained in:
@@ -39,4 +39,4 @@ public static class FileUtils
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ public static partial class PasswordUtils
|
||||
private static partial Regex RegexSpecial();
|
||||
|
||||
private static readonly Regex RegexIdenticalChars = new(
|
||||
@"(\S)\1{2,}",
|
||||
@"(\S)\1{2,}",
|
||||
RegexOptions.IgnoreCase | RegexOptions.Compiled,
|
||||
TimeSpan.FromMilliseconds(100)
|
||||
);
|
||||
|
||||
@@ -142,7 +142,7 @@ public static class ProgramUtils
|
||||
builder.Services.AddAuthorization();
|
||||
builder.Services.AddControllers(options =>
|
||||
{
|
||||
options.Filters.Add<ValidationActionFilter>();
|
||||
options.Filters.Add<ValidationActionFilter>();
|
||||
});
|
||||
builder.Services.AddEndpointsApiExplorer();
|
||||
|
||||
@@ -295,4 +295,4 @@ public static class ProgramUtils
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user