Merge pull request #815 from nextcloud/fix-undefined-offset-in-login-controller-stable10
[stable10] Add missing array element
This commit is contained in:
commit
5d11b5b278
|
@ -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