Skip to content
Snippets Groups Projects
Commit bd25eb80 authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Add autocomplete attribute to confirmation password

The confirmation password, required for accessing
the install tool through the backend, now uses the
autocomplete attribute to prevent password managers
from initiating a "change password" workflow.

Resolves: #92969
Releases: master, 10.4
Change-Id: I27bc81e7ebaa9684b4e15c7208841ca5e3a4338d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71501


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarJochen <rothjochen@gmail.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarJochen <rothjochen@gmail.com>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent 8d3e14ed
Branches
Tags
No related merge requests found
......@@ -34,8 +34,9 @@
<label for="confirmationPassword">
<f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang.xlf:login.password" />
</label>
<f:variable name="autocomplete" value="{f:if(condition: flagInstallToolPassword, then: 'section-install current-password', else: 'current-password')}" />
<f:form.password name="confirmationPassword" id="confirmationPassword" class="form-control"
additionalAttributes="{required: 'required'}" />
additionalAttributes="{required: 'required', autocomplete: autocomplete}" />
<f:form.hidden name="flags" value="{flags}" />
</div>
</div>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment