diff --git a/PhpbbAuth.php b/PhpbbAuth.php index ae9de4f..5e12638 100644 --- a/PhpbbAuth.php +++ b/PhpbbAuth.php @@ -56,9 +56,7 @@ $wgAuthRemoteuserUserPrefs = [ 'realname' => $user->data['username'], 'language' => 'en', - 'disablemail' => 0 - ]; - $wgAuthRemoteuserUserPrefsForced = [ + 'disablemail' => 0, 'email' => $user->data['user_email'] ]; $wgDefaultUserOptions['disablemail'] = 0;