aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorRoger Szabo <roger.szabo@web.de>2017-07-10 18:46:39 +0800
committerRoger Szabo <roger.szabo@web.de>2017-07-10 18:46:39 +0800
commit0ebec6f9a4ad853b7620587f6bb7527c46ec751c (patch)
tree74703ed5aaa4805dd490d9fdaa7c650145903990 /apps/user_ldap
parentc7b28064e3c8335312a644b94ced602a9f0fea0f (diff)
downloadnextcloud-server-0ebec6f9a4ad853b7620587f6bb7527c46ec751c.tar.gz
nextcloud-server-0ebec6f9a4ad853b7620587f6bb7527c46ec751c.zip
Rectify variable $uid->$user
Signed-off-by: Roger Szabo <roger.szabo@web.de>
Diffstat (limited to 'apps/user_ldap')
-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', [