From 68f0af3d1569ffdbf8478fdb5785d127179dadcd Mon Sep 17 00:00:00 2001 From: Jean-Yves Moyen Date: Wed, 29 Nov 2023 11:54:41 +0100 Subject: [PATCH] SIA-R10: Accept `one-time-code` (#1517) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Accept one-time-code in R10 * Typo Co-authored-by: Rolf Christian Jørgensen <114920418+rcj-siteimprove@users.noreply.github.com> --------- Co-authored-by: Rolf Christian Jørgensen <114920418+rcj-siteimprove@users.noreply.github.com> --- .changeset/tall-mails-kiss.md | 5 +++++ packages/alfa-rules/src/sia-r10/rule.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/tall-mails-kiss.md diff --git a/.changeset/tall-mails-kiss.md b/.changeset/tall-mails-kiss.md new file mode 100644 index 0000000000..b25b9bb067 --- /dev/null +++ b/.changeset/tall-mails-kiss.md @@ -0,0 +1,5 @@ +--- +"@siteimprove/alfa-rules": patch +--- + +**Fixed:** SIA-R10 now correctly accepts the `one-time-code` token. diff --git a/packages/alfa-rules/src/sia-r10/rule.ts b/packages/alfa-rules/src/sia-r10/rule.ts index d7c4ca995c..bb45fb9a13 100644 --- a/packages/alfa-rules/src/sia-r10/rule.ts +++ b/packages/alfa-rules/src/sia-r10/rule.ts @@ -117,6 +117,7 @@ const unmodifiables = Array.from([ "username", "new-password", "current-password", + "one-time-code", "organization-title", "organization", "street-address",