diff options
author | Roger Szabo <roger.szabo@web.de> | 2017-06-22 15:58:30 +0800 |
---|---|---|
committer | Roger Szabo <roger.szabo@web.de> | 2017-06-22 15:58:30 +0800 |
commit | bf9412df63d150697e985795f03c24736ea4dc81 (patch) | |
tree | 4e4d9f37056a00df0eaa31d0c834ed73149d4543 /apps/user_ldap | |
parent | 1d8e73b10843d60789010008902017530f8b2121 (diff) | |
download | nextcloud-server-bf9412df63d150697e985795f03c24736ea4dc81.tar.gz nextcloud-server-bf9412df63d150697e985795f03c24736ea4dc81.zip |
set needsPasswordReset flag correctly
Signed-off-by: Roger Szabo <roger.szabo@web.de>
Diffstat (limited to 'apps/user_ldap')
-rw-r--r-- | apps/user_ldap/lib/Controller/RenewPasswordController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Controller/RenewPasswordController.php b/apps/user_ldap/lib/Controller/RenewPasswordController.php index 4714c0646cd..7766a5a78de 100644 --- a/apps/user_ldap/lib/Controller/RenewPasswordController.php +++ b/apps/user_ldap/lib/Controller/RenewPasswordController.php @@ -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', [ |