diff --git a/src/components/access-code/_macro.njk b/src/components/access-code/_macro.njk index 900e30400b..4e49fe96f6 100644 --- a/src/components/access-code/_macro.njk +++ b/src/components/access-code/_macro.njk @@ -2,7 +2,7 @@ {% from "components/panel/_macro.njk" import onsPanel %} {% macro onsAccessCode(params) %} - {% set groupSize = params.groupSize | default(5) %} + {% set groupSize = params.groupSize | default(4) %} {% set extraSpaces = (params.maxlength | default(16) / groupSize) - 1 %} {% set maxlength = params.maxlength | default(16) + extraSpaces %}