[BUGFIX] Invalid SQL result after four login failures 83/18583/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:20:21 +0000 (09:20 +0100)
commit0d8b266a93653f53cc1633774e0d55b3626896e0
treebd6b0cfc11bf49af29c439ee06b35db7f94ee4fc
parentbab73c374376432c3477f1063b944fa47a215f87
[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
Reviewed-on: https://review.typo3.org/18583
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php