Skip to content

Commit

Permalink
Merge pull request #8681 from Joey3000/patch-1
Browse files Browse the repository at this point in the history
Piwik\Plugins\Login\Controller class: Change private variables and methods to protected.
  • Loading branch information
tsteur committed Sep 2, 2015
2 parents 288b0b2 + 3280f15 commit 7e781a7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions plugins/Login/Controller.php
Expand Up @@ -31,17 +31,17 @@ class Controller extends \Piwik\Plugin\Controller
/**
* @var PasswordResetter
*/
private $passwordResetter;
protected $passwordResetter;

/**
* @var Auth
*/
private $auth;
protected $auth;

/**
* @var SessionInitializer
*/
private $sessionInitializer;
protected $sessionInitializer;

/**
* Constructor.
Expand Down Expand Up @@ -124,7 +124,7 @@ function login($messageNoAccess = null, $infoMessage = false)
*
* @param View $view
*/
private function configureView($view)
protected function configureView($view)
{
$this->setBasicVariablesView($view);

Expand Down Expand Up @@ -261,7 +261,7 @@ function resetPassword()
* @param QuickForm2 $form
* @return array Error message(s) if an error occurs.
*/
private function resetPasswordFirstStep($form)
protected function resetPasswordFirstStep($form)
{
$loginMail = $form->getSubmitValue('form_login');
$password = $form->getSubmitValue('form_password');
Expand Down

0 comments on commit 7e781a7

Please sign in to comment.