]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add missing array element - fixes #25714 814/head
authorThomas Müller <thomas.mueller@tmit.eu>
Mon, 8 Aug 2016 06:08:29 +0000 (08:08 +0200)
committerBjoern Schiessle <bjoern@schiessle.org>
Wed, 10 Aug 2016 09:11:23 +0000 (11:11 +0200)
core/Controller/LoginController.php

index 91f7fa0b25a8447105c72a7656fbe7141a4192cb..ffbcea0feddebb802673dacd0004ff5fa359b07b 100644 (file)
@@ -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] : [];