summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Controller
diff options
context:
space:
mode:
authorRoger Szabo <roger.szabo@web.de>2017-04-06 16:26:41 +0800
committerRoger Szabo <roger.szabo@web.de>2017-04-06 16:26:41 +0800
commit33c8bf18575dd618f4df33a0da64f627910aa4b4 (patch)
tree77b10fad4ad01c32e31f4b41733cc96b8845c308 /apps/user_ldap/lib/Controller
parentbd907a5dac743aa110900ec1aa5fd5c2895b0d0a (diff)
downloadnextcloud-server-33c8bf18575dd618f4df33a0da64f627910aa4b4.tar.gz
nextcloud-server-33c8bf18575dd618f4df33a0da64f627910aa4b4.zip
blizzz comments 03.04.2017
Signed-off-by: Roger Szabo <roger.szabo@web.de>
Diffstat (limited to 'apps/user_ldap/lib/Controller')
-rw-r--r--apps/user_ldap/lib/Controller/RenewPasswordController.php11
1 files changed, 3 insertions, 8 deletions
diff --git a/apps/user_ldap/lib/Controller/RenewPasswordController.php b/apps/user_ldap/lib/Controller/RenewPasswordController.php
index 79708e99fa0..4714c0646cd 100644
--- a/apps/user_ldap/lib/Controller/RenewPasswordController.php
+++ b/apps/user_ldap/lib/Controller/RenewPasswordController.php
@@ -55,13 +55,8 @@ class RenewPasswordController extends Controller {
* @param IConfig $config
* @param IURLGenerator $urlGenerator
*/
- function __construct($appName,
- IRequest $request,
- IUserManager $userManager,
- IConfig $config,
- IL10N $l10n,
- ISession $session,
- IURLGenerator $urlGenerator) {
+ function __construct($appName, IRequest $request, IUserManager $userManager,
+ IConfig $config, IL10N $l10n, ISession $session, IURLGenerator $urlGenerator) {
parent::__construct($appName, $request);
$this->userManager = $userManager;
$this->config = $config;
@@ -93,7 +88,7 @@ class RenewPasswordController extends Controller {
if($this->config->getUserValue($user, 'user_ldap', 'needsPasswordReset') !== 'true') {
return new RedirectResponse($this->urlGenerator->linkToRouteAbsolute('core.login.showLoginForm'));
}
- $parameters = array();
+ $parameters = [];
$renewPasswordMessages = $this->session->get('renewPasswordMessages');
$errors = [];
$messages = [];