Merge pull request #814 from nextcloud/fix-undefined-offset-in-login-controller
Fix undefined offset in login controller
This commit is contained in:
commit
e8571a2b19
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue