From 4cf2f97a16171a3e11c833d1ddb9272c027f7d5d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20M=C3=BCller?= Date: Mon, 8 Aug 2016 08:08:29 +0200 Subject: [PATCH] Add missing array element - fixes #25714 --- core/Controller/LoginController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Controller/LoginController.php b/core/Controller/LoginController.php index 91f7fa0b25a..ffbcea0fedd 100644 --- a/core/Controller/LoginController.php +++ b/core/Controller/LoginController.php @@ -202,7 +202,7 @@ class LoginController extends Controller { $this->throttler->sleepDelay($this->request->getRemoteAddress()); } $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] : []; -- 2.39.5