Add missing array element - fixes #25714
This commit is contained in:
parent
d6bee61131
commit
4cf2f97a16
|
@ -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…
Reference in New Issue