Formats code comments as sentences in the production sources.

Capitalizes the first word and adds the terminal period across the domain, application, data access, infrastructure, API and web layers and the plugins. No comment is reworded. The change also normalizes the TODO bodies to lowercase, leaves commented-out code untouched, corrects the Threat/Treat typo and the dangling hyphen in the exception middleware, and collapses two accidental repeated terminal periods.
This commit is contained in:
BinaryAlley committed 2026-11-16 18:16:17 +02:00
1 parent 88455fec9c
commit 727aa33318
142 files changed
+403 -403

No files matched your search

@@ -16,7 +16,7 @@ public class TotpTokenGenerator : ITotpTokenGenerator
/// <returns>The generated TOTP secret.</returns>
public byte[] GenerateSecret()
{
return KeyGeneration.GenerateRandomKey(); // generate a random key for TOTP
return KeyGeneration.GenerateRandomKey(); // Generate a random key for TOTP.
}
/// <summary>
@@ -28,7 +28,7 @@ public class TotpTokenGenerator : ITotpTokenGenerator
public bool ValidateToken(byte[] secret, string token)
{
Totp totp = new(secret);
// verify the TOTP token, allowing for slight time drifts between server and client
// Verify the TOTP token, allowing for slight time drifts between server and client.
return totp.VerifyTotp(token, out _, VerificationWindow.RfcSpecifiedNetworkDelay);
}
}