[stable9.1] Add missing array element - fixes #25714
This commit is contained in:
parent
0475315dd4
commit
67534dfba0
|
@ -202,7 +202,7 @@ class LoginController extends Controller {
|
||||||
$this->throttler->sleepDelay($this->request->getRemoteAddress());
|
$this->throttler->sleepDelay($this->request->getRemoteAddress());
|
||||||
}
|
}
|
||||||
$this->session->set('loginMessages', [
|
$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
|
// 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] : [];
|
$args = !is_null($user) ? ['user' => $originalUser] : [];
|
||||||
|
|
Loading…
Reference in New Issue