if ( $failed ) {
throw new \UnexpectedValueException(
"AuthPlugin failed to reset password for $username in the following domains: "
- . join( ' ', $failed )
+ . implode( ' ', $failed )
);
}
}
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' );
}
}