Add missing array element - fixes #25714

pull/814/head
Thomas Müller 9 years ago committed by Bjoern Schiessle
parent d6bee61131
commit 4cf2f97a16
No known key found for this signature in database
GPG Key ID: 2378A753E2BF04F6
  1. 2
      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] : [];

Loading…
Cancel
Save