use MediaWiki\Auth\AuthManager;
use MediaWiki\Logger\LoggerFactory;
-use Psr\Log\LogLevel;
/**
* Implements Special:CreateAccount
# Run any hooks; display injected HTML
$injected_html = '';
$welcome_creation_msg = 'welcomecreation-msg';
- Hooks::run( 'UserLoginComplete', [ &$user, &$injected_html ] );
+ Hooks::run( 'UserLoginComplete', [ &$user, &$injected_html, $direct ] );
/**
* Let any extensions change what message is shown.
}
protected function logAuthResult( $success, $status = null ) {
- LoggerFactory::getInstance( 'authevents' )->info( 'Account creation attempt', [
+ LoggerFactory::getInstance( 'authmanager' )->info( 'Account creation attempt', [
'event' => 'accountcreation',
'successful' => $success,
'status' => $status,