diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-08-08 08:08:29 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2016-08-10 11:11:23 +0200 |
commit | 4cf2f97a16171a3e11c833d1ddb9272c027f7d5d (patch) | |
tree | 50714a8afdd8460d589609b970f8a53782ddee5e | |
parent | d6bee61131d9702483830d39819e6204588eb800 (diff) | |
download | nextcloud-server-4cf2f97a16171a3e11c833d1ddb9272c027f7d5d.tar.gz nextcloud-server-4cf2f97a16171a3e11c833d1ddb9272c027f7d5d.zip |
Add missing array element - fixes #25714
-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 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] : []; |