summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2013-04-19 09:35:12 +0200
committerPierre Schmitz <pierre@archlinux.de>2013-04-19 09:35:12 +0200
commitaa8ec6e90b7852289d936ecef6c2fbb5fcd43b97 (patch)
treeb4c30c0c6be68a3efd0c39aa9e3d47b823ed93b5 /extensions
parentd43bf442ab472de9ad9db6b62e9f7b02e580f466 (diff)
FluxBBAuthPlugin: Fix realname preferences; instanciate plugin by default
Diffstat (limited to 'extensions')
-rw-r--r--extensions/FluxBBAuthPlugin.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/extensions/FluxBBAuthPlugin.php b/extensions/FluxBBAuthPlugin.php
index 32789d5f..ce9d19d6 100644
--- a/extensions/FluxBBAuthPlugin.php
+++ b/extensions/FluxBBAuthPlugin.php
@@ -1,10 +1,13 @@
<?php
+$wgAuth = new FluxBBAuthPlugin();
+
+$wgHiddenPrefs[] = 'realname';
$wgHooks['isValidPassword'][] = 'FluxBBAuthPlugin::isValidPassword';
$wgExtensionCredits['other'][] = array(
'name' => 'FluxBBAuthPlugin',
- 'version' => '1.4',
+ 'version' => '1.5',
'description' => 'Use FluxBB accounts in MediaWiki',
'author' => 'Pierre Schmitz',
'url' => 'https://pierre-schmitz.com/'