Rectify variable $uid->$user

Signed-off-by: Roger Szabo <roger.szabo@web.de>
This commit is contained in:
Roger Szabo 2017-07-10 18:38:30 +08:00
parent 500d2a0e2e
commit ff286cd131
1 changed files with 1 additions and 1 deletions

View File

@ -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', [