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