Browse Source

Rectify variable $uid->$user

Signed-off-by: Roger Szabo <roger.szabo@web.de>
tags/v13.0.0beta1
Roger Szabo 6 years ago
parent
commit
0ebec6f9a4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      apps/user_ldap/lib/Controller/RenewPasswordController.php

+ 1
- 1
apps/user_ldap/lib/Controller/RenewPasswordController.php 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', [

Loading…
Cancel
Save