summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-08-08 08:08:29 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2016-08-10 11:11:23 +0200
commit4cf2f97a16171a3e11c833d1ddb9272c027f7d5d (patch)
tree50714a8afdd8460d589609b970f8a53782ddee5e
parentd6bee61131d9702483830d39819e6204588eb800 (diff)
downloadnextcloud-server-4cf2f97a16171a3e11c833d1ddb9272c027f7d5d.tar.gz
nextcloud-server-4cf2f97a16171a3e11c833d1ddb9272c027f7d5d.zip
Add missing array element - fixes #25714
-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 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] : [];