Rectify variable $uid->$user
Signed-off-by: Roger Szabo <roger.szabo@web.de>
This commit is contained in:
parent
500d2a0e2e
commit
ff286cd131
|
@ -146,7 +146,7 @@ class RenewPasswordController extends Controller {
|
||||||
$this->session->set('loginMessages', [
|
$this->session->set('loginMessages', [
|
||||||
[], [$this->l10n->t("Please login with the new password")]
|
[], [$this->l10n->t("Please login with the new password")]
|
||||||
]);
|
]);
|
||||||
$this->config->setUserValue($uid, 'user_ldap', 'needsPasswordReset', 'false');
|
$this->config->setUserValue($user, 'user_ldap', 'needsPasswordReset', 'false');
|
||||||
return new RedirectResponse($this->urlGenerator->linkToRoute('core.login.showLoginForm', $args));
|
return new RedirectResponse($this->urlGenerator->linkToRoute('core.login.showLoginForm', $args));
|
||||||
} else {
|
} else {
|
||||||
$this->session->set('renewPasswordMessages', [
|
$this->session->set('renewPasswordMessages', [
|
||||||
|
|
Loading…
Reference in New Issue