Skip to content
Snippets Groups Projects
Unverified Commit 4cf2f97a authored by Thomas Müller's avatar Thomas Müller Committed by Bjoern Schiessle
Browse files

Add missing array element - fixes #25714

parent d6bee611
No related branches found
No related tags found
No related merge requests found
......@@ -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] : [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment