chore: renamed one time password to OTP (#11447)

# Which Problems Are Solved

naming consistency for TOTP/OTP

# How the Problems Are Solved


# Additional Changes


# Additional Context

- Closes #11299 
- Closes #11302 
- Closes #11304

---------

Co-authored-by: Marco A. <[email protected]>
Co-authored-by: Florian Forster <[email protected]>
Co-authored-by: Copilot <[email protected]>
This commit is contained in:
Wim Van Laer
2026-02-04 10:20:47 +01:00
committed by GitHub
co-authored by Marco A. Florian Forster Copilot
parent 61d4060df3
commit b99271755b
77 changed files with 1688 additions and 1728 deletions
+2 -2
View File
@@ -795,7 +795,7 @@ describe("checkMFAFactors", () => {
});
});
it("should redirect to SMS OTP if only OTP_SMS is available", async () => {
it("should redirect to OTP SMS if only OTP_SMS is available", async () => {
const authMethods = [AuthenticationMethodType.OTP_SMS];
const result = await checkMFAFactors("https://example.com", mockSession, mockLoginSettings, authMethods);
@@ -805,7 +805,7 @@ describe("checkMFAFactors", () => {
});
});
it("should redirect to Email OTP if only OTP_EMAIL is available", async () => {
it("should redirect to OTP Email if only OTP_EMAIL is available", async () => {
const authMethods = [AuthenticationMethodType.OTP_EMAIL];
const result = await checkMFAFactors("https://example.com", mockSession, mockLoginSettings, authMethods);