Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorThomas Müller <DeepDiver1975@users.noreply.github.com>2016-08-10 23:48:45 +0300
committerGitHub <noreply@github.com>2016-08-10 23:48:45 +0300
commited59de57bb305e7c27d5f647b5f635e2ce48cf11 (patch)
treea302e733ba1c4bf4e2f4f46b8352151467757eb1 /core
parent4d47963a6e9b6b2f7fa9df9fb1b357864ed05d6d (diff)
[stable9.1] Add missing array element - fixes #25714 (#25732)
Diffstat (limited to 'core')
-rw-r--r--core/Controller/LoginController.php2
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] : [];