Skip to content

Commit

Permalink
Merge pull request #610 from nepda/zfc-1.x
Browse files Browse the repository at this point in the history
Fixed usage of zfcuser_login_form service in ZfcUserLoginWidget view helper
  • Loading branch information
Danielss89 committed Dec 15, 2015
2 parents 2277c59 + b5689f5 commit e755d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZfcUser/Factory/View/Helper/ZfcUserLoginWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function createService(ServiceLocatorInterface $serviceManager)
$locator = $serviceManager->getServiceLocator();
$viewHelper = new View\Helper\ZfcUserLoginWidget;
$viewHelper->setViewTemplate($locator->get('zfcuser_module_options')->getUserLoginWidgetViewTemplate());
$viewHelper->setLoginForm($locator->get('zfcuser_login_form'));
$viewHelper->setLoginForm($locator->get('FormElementManager')->get('zfcuser_login_form'));
return $viewHelper;
}
}

0 comments on commit e755d96

Please sign in to comment.