[BUGFIX] Avoid trimming of user login data with spaces at the end/beginning
Currently TYPO3 Core does trimming based on the user (AbstractUserAuthentication) but in order to allow third-party extensions to integrate users / passwords with spaces at the end and beginning, this code is moved to the Authentication Service which allows for custom services to trim or not to trim individually. Resolves: #77715 Releases: master Change-Id: Ie31a5b97293275d15513abfae39599f4462262c7 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63925 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Frank Nägler <frank.naegler@typo3.org> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Frank Nägler <frank.naegler@typo3.org>
Showing
- typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php 0 additions, 1 deletion...ore/Classes/Authentication/AbstractUserAuthentication.php
- typo3/sysext/core/Classes/Authentication/AuthenticationService.php 1 addition, 0 deletions...ext/core/Classes/Authentication/AuthenticationService.php
- typo3/sysext/core/Documentation/Changelog/master/Important-77715-NoMorePasswordTrimmingForThird-partyAuthenticationServices.rst 35 additions, 0 deletions...ePasswordTrimmingForThird-partyAuthenticationServices.rst
- typo3/sysext/core/Tests/Unit/Authentication/AuthenticationServiceTest.php 14 additions, 0 deletions...e/Tests/Unit/Authentication/AuthenticationServiceTest.php
Please register or sign in to comment