Use American English spelling throughout

This commit is contained in:
jcoffey-dev committed 2026-09-15 11:45:58 -07:00
1 parent 6ba89696ee
commit d1731efdb9
169 files changed
+786 -795

No files matched your search

+2 -2
View File
@@ -1,13 +1,13 @@
import { createHmac, randomBytes, timingSafeEqual } from "node:crypto";
/**
* TOTP (RFC 6238) — just enough to enrol a second factor safely.
* TOTP (RFC 6238) — just enough to enroll a second factor safely.
*
* Stalwart stores the otpauth:// URL and checks codes at login, but it does
* *not* check the new secret when 2FA is switched on: it verifies the
* credentials that are already on the account. A user whose authenticator was
* mistyped or whose clock has drifted would be locked out of their mailbox at
* the next sign-in. So ihasmail proves the enrolment itself, before asking the
* the next sign-in. So ihasmail proves the enrollment itself, before asking the
* server to store anything.
*/