[BUGFIX] Invalid SQL result after four login failures 79/18579/2
authorPhilipp Gampe <philipp.gampe@typo3.org>
Sun, 3 Mar 2013 20:07:32 +0000 (21:07 +0100)
committerXavier Perseguers <xavier@typo3.org>
Mon, 4 Mar 2013 08:16:13 +0000 (09:16 +0100)
commita06768a67ea7bd36e75c106fb27af54225346071
tree0a22554e7ec1b12a553c22fb2f3a68498ecc6178
parenta18a5d6a0872efecf5c8d8ee0adacccec71b066c
[BUGFIX] Invalid SQL result after four login failures

sql_free_result is called too early.
Move the call after the error handling at the end of the method.

Fixes: #45996
Releases: 6.0, 6.1
Change-Id: I54f1edb48e4c3b70629b46cbba365416c01c0917
Reviewed-on: https://review.typo3.org/18579
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php