summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-07-10 15:04:21 +0200
committerGitHub <noreply@github.com>2017-07-10 15:04:21 +0200
commita15591347ad53ef9333c2635fa23b8617ebe9f01 (patch)
tree74703ed5aaa4805dd490d9fdaa7c650145903990
parentc7b28064e3c8335312a644b94ced602a9f0fea0f (diff)
parent0ebec6f9a4ad853b7620587f6bb7527c46ec751c (diff)
downloadnextcloud-server-a15591347ad53ef9333c2635fa23b8617ebe9f01.tar.gz
nextcloud-server-a15591347ad53ef9333c2635fa23b8617ebe9f01.zip
Merge pull request #5671 from GitHubUser4234/ldap_password_renew_nc12fix
Rectify variable in RenewpasswordController
-rw-r--r--apps/user_ldap/lib/Controller/RenewPasswordController.php2
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 7766a5a78de..9cdcdddb141 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->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));
} else {
$this->session->set('renewPasswordMessages', [