Merge pull request #5671 from GitHubUser4234/ldap_password_renew_nc12fix
Rectify variable in RenewpasswordController
This commit is contained in:
commit
a15591347a
|
@ -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