diff options
author | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-08-10 23:48:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-10 23:48:45 +0300 |
commit | ed59de57bb305e7c27d5f647b5f635e2ce48cf11 (patch) | |
tree | a302e733ba1c4bf4e2f4f46b8352151467757eb1 /core | |
parent | 4d47963a6e9b6b2f7fa9df9fb1b357864ed05d6d (diff) |
[stable9.1] Add missing array element - fixes #25714 (#25732)
Diffstat (limited to 'core')
-rw-r--r-- | core/Controller/LoginController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/LoginController.php b/core/Controller/LoginController.php index b2545b73d78..fa41af67b89 100644 --- a/core/Controller/LoginController.php +++ b/core/Controller/LoginController.php @@ -185,7 +185,7 @@ class LoginController extends Controller { } if ($loginResult === false) { $this->session->set('loginMessages', [ - ['invalidpassword'] + ['invalidpassword'], [] ]); // Read current user and append if possible - we need to return the unmodified user otherwise we will leak the login name $args = !is_null($user) ? ['user' => $originalUser] : []; |