[BUGFIX] Various PHP Warnings with invalid credentials 26/27126/5
authorXavier Perseguers <xavier@typo3.org>
Wed, 29 Jan 2014 13:54:37 +0000 (14:54 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sun, 2 Feb 2014 19:21:59 +0000 (20:21 +0100)
commit90d387353b3e2516e5660532b902c66e14052785
treef3878bcae33effa119f0af8f8ee4ded97afd7dbd
parent9f8091ff341c485c8abcf488ff436fff863d2d92
[BUGFIX] Various PHP Warnings with invalid credentials

When invalid credentials are entered in the Backend login form, various
PHP warnings are raised such as

    PHP Warning: Illegal string offset 'uid'

because $user is not an array.

Resolves: #55434
Releases: 6.2, 6.1
Change-Id: I62b85816ce04720ed9fd236965c3a6f55effd093
Reviewed-on: https://review.typo3.org/27126
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/backend/Classes/Controller/LoginController.php
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php