From: Roger Szabo Date: Mon, 10 Jul 2017 10:38:30 +0000 (+0800) Subject: Rectify variable $uid->$user X-Git-Tag: v12.0.1RC1~21^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ff286cd13191ff5ee22e152fc94e007e81f5e7ea;p=nextcloud-server.git Rectify variable $uid->$user Signed-off-by: Roger Szabo --- 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', [