Refactored authentication
continuous-integration/drone/pr Build is passing

This commit is contained in:
Khwezi Mngoma
2026-06-04 08:47:18 +02:00
parent 652ca82a57
commit 8f97d7cf38
5 changed files with 11 additions and 14 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ namespace LiteCharms.Features.Hasher;
public sealed partial class HashService(IHashids hasher) : IService
{
[GeneratedRegex(@"\A\b[0-9a-fA-F]+\b\Z")]
[GeneratedRegex(@"\A\b[0-9a-fA-F]+\b\Z", RegexOptions.None, matchTimeoutMilliseconds: 100)]
private static partial Regex HexHashRegex { get; }
[GeneratedRegex(@"\A[0-9a-fA-F]{32}\Z", RegexOptions.None, matchTimeoutMilliseconds: 100)]