[BUGFIX] Various PHP Warnings with invalid credentials 74/27274/2
authorXavier Perseguers <xavier@typo3.org>
Wed, 29 Jan 2014 13:54:37 +0000 (14:54 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Tue, 4 Feb 2014 00:44:34 +0000 (01:44 +0100)
commit4d7947ac442bdb78afba89855965ee748e325d83
tree01bf513eaf5284a613039569a6f42ace5779a80e
parent1263413f305a459080b895f762740bbfaeaca686
[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/27274
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/backend/Classes/Controller/LoginController.php
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php