X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fauth%2FAbstractPasswordPrimaryAuthenticationProvider.php;h=4096f1971ab4adce81909662484ada7d6fef2f90;hb=d819f37fbb459549c43e15ae44a9234ae3e485e9;hp=3d26767a0e4e8a2459be2aedbc460eac7354681e;hpb=ef970021795d220af007fd603e4813c1122bc8ef;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/auth/AbstractPasswordPrimaryAuthenticationProvider.php b/includes/auth/AbstractPasswordPrimaryAuthenticationProvider.php index 3d26767a0e..4096f1971a 100644 --- a/includes/auth/AbstractPasswordPrimaryAuthenticationProvider.php +++ b/includes/auth/AbstractPasswordPrimaryAuthenticationProvider.php @@ -53,8 +53,10 @@ abstract class AbstractPasswordPrimaryAuthenticationProvider */ protected function getPasswordFactory() { if ( $this->passwordFactory === null ) { - $this->passwordFactory = new PasswordFactory(); - $this->passwordFactory->init( $this->config ); + $this->passwordFactory = new PasswordFactory( + $this->config->get( 'PasswordConfig' ), + $this->config->get( 'PasswordDefault' ) + ); } return $this->passwordFactory; }