Skip to content

Commit

Permalink
Merge pull request #140 from ins0/fix/#126
Browse files Browse the repository at this point in the history
Fix/update correct namespace
  • Loading branch information
ins0 authored Jul 3, 2016
2 parents 9435b09 + 88cfa17 commit 0b68130
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions module/Auth/src/Auth/Form/Fieldset/ResetPassword.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
namespace Auth\Form\Fieldset;

use Auth\Service\AuthenticationService;
use Zend\Form\Element\Password;
use Zend\Form\Element\Submit;
use Zend\Form\Fieldset;
Expand Down Expand Up @@ -60,7 +61,7 @@ public function currentPasswortCallback( $value ){
if( ! $value )
return false;

$authService = $this->sm->get('AuthService');
$authService = $this->sm->get(AuthenticationService::class);
return $authService->getIdentity()->checkAgainstPassword($value);
}

Expand Down Expand Up @@ -137,4 +138,4 @@ public function getInputFilterSpecification()

);
}
}
}

0 comments on commit 0b68130

Please sign in to comment.