Skip to content

Commit 9e7ac7a

Browse files
committed
[BUGFIX] Fixed invalid autocomplete attribute for spamcheck fields
Refs #1410
1 parent 85c08ab commit 9e7ac7a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Resources/Private/Partials/Registration/SpamCheck.fluid.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
<div>
99
<f:if condition="{spamSettings.checks.honeypot.configuration.renderAsHiddenField} == 1">
1010
<f:then>
11-
<f:form.hidden property="hp{event.uid}" additionalAttributes="{autocomplete: 'hp{event.uid}'}" />
11+
<f:form.hidden property="hp{event.uid}" />
1212
</f:then>
1313
<f:else>
14-
<f:form.textfield property="hp{event.uid}" additionalAttributes="{autocomplete: 'hp{event.uid}', aria-hidden: 'true'}" tabindex="-1" style="display:none !important" />
14+
<f:form.textfield property="hp{event.uid}" additionalAttributes="{aria-hidden: 'true'}" tabindex="-1" style="display:none !important" />
1515
</f:else>
1616
</f:if>
1717
</div>
@@ -21,7 +21,7 @@
2121
<div>
2222
<f:asset.script identifier="sfeventmgt-cr-spamcheck" src="EXT:sf_event_mgt/Resources/Public/JavaScript/cr-spamcheck.js" />
2323
<f:variable name="challenge" value="{spamSettings.checks.challengeResponse.configuration.prefix}{event.spamCheckChallenge}{spamSettings.checks.challengeResponse.configuration.postfix}" />
24-
<f:form.hidden id="js-cr-challenge" property="cr-response" additionalAttributes="{autocomplete: 'js-cr-challenge', data-challenge: challenge}" />
24+
<f:form.hidden id="js-cr-challenge" property="cr-response" additionalAttributes="{data-challenge: challenge}" />
2525
</div>
2626
</f:if>
2727

0 commit comments

Comments
 (0)