X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fauth%2FAuthPluginPrimaryAuthenticationProvider.php;h=cd0734d847e1af76e25df4cd30133488a2157767;hb=44532bdd3b8a56dcc07fc92da7538b9e7f35657b;hp=9746637b00070022fc1066f028d676c4a252c885;hpb=cdc53ad15b8131e1b4254cc788efa318a35fd804;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/auth/AuthPluginPrimaryAuthenticationProvider.php b/includes/auth/AuthPluginPrimaryAuthenticationProvider.php index 9746637b00..cd0734d847 100644 --- a/includes/auth/AuthPluginPrimaryAuthenticationProvider.php +++ b/includes/auth/AuthPluginPrimaryAuthenticationProvider.php @@ -272,7 +272,7 @@ class AuthPluginPrimaryAuthenticationProvider if ( $failed ) { throw new \UnexpectedValueException( "AuthPlugin failed to reset password for $username in the following domains: " - . join( ' ', $failed ) + . implode( ' ', $failed ) ); } } @@ -329,7 +329,7 @@ class AuthPluginPrimaryAuthenticationProvider if ( $req->domain === null ) { return \StatusValue::newGood( 'ignored' ); } - if ( !$this->auth->validDomain( $domain ) ) { + if ( !$this->auth->validDomain( $req->domain ) ) { return \StatusValue::newFatal( 'authmanager-authplugin-setpass-bad-domain' ); } }