[BUGFIX] Make fetchUserRecord callable without username 41/13041/5
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:21:56 +0000 (12:21 +0200)
commit3e36ac4f6bbbfe29daa9560c04f16b99f254cd31
treecae5943bdb125e8f5e89a3543030146ed7981dd0
parent02f76f43c0162400f3611ca933a5240905f85e66
[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
typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php