Skip to content

Commit

Permalink
SIA-R10: Accept one-time-code (#1517)
Browse files Browse the repository at this point in the history
* Accept one-time-code in R10

* Typo

Co-authored-by: Rolf Christian Jørgensen <[email protected]>

---------

Co-authored-by: Rolf Christian Jørgensen <[email protected]>
  • Loading branch information
Jym77 and rcj-siteimprove authored Nov 29, 2023
1 parent dfa47dc commit 68f0af3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tall-mails-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@siteimprove/alfa-rules": patch
---

**Fixed:** SIA-R10 now correctly accepts the `one-time-code` token.
1 change: 1 addition & 0 deletions packages/alfa-rules/src/sia-r10/rule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ const unmodifiables = Array.from([
"username",
"new-password",
"current-password",
"one-time-code",
"organization-title",
"organization",
"street-address",
Expand Down

0 comments on commit 68f0af3

Please sign in to comment.