[BUGFIX] Make fetchUserRecord callable without username 74/19774/2
authorRobert Heel <typo3.org@bobosch.de>
Tue, 27 Nov 2012 00:24:28 +0000 (01:24 +0100)
committerJigal van Hemert <jigal@xs4all.nl>
Wed, 10 Apr 2013 10:37:43 +0000 (12:37 +0200)
commite9520d52681845e27469889aa6838060ab71523f
tree258fc05bac26dc92f0322278c7d6789717ec643b
parentca9df6e01d18212ddd0c092217ef6b74ce50094b
[BUGFIX] Make fetchUserRecord callable without username

t3lib_userAuth::fetchUserRecord is not callable without a username.
Fix the $usernameClause to generate a correct SQL query.

Change-Id: I56b5f8bf8b326e880f157c3b4a5a15409305c3d9
Fixes: #39248
Releases: 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/13041
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Reviewed-by: Mattias Nilsson
Reviewed-by: Nicole Cordes
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-on: https://review.typo3.org/19774
typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php