Skip to content

Commit

Permalink
Merge pull request #13 from C4K3/autocreateaccount
Browse files Browse the repository at this point in the history
Fix 'Auto-creation failed': Add permission for autocreateaccount
  • Loading branch information
Digitalroot committed Jul 20, 2016
2 parents bbd157f + b0a67b8 commit 700bba8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Auth_phpbb.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ function __construct($aConfig)

// Specify who may create new accounts:
$GLOBALS['wgGroupPermissions']['*']['createaccount'] = false;
$GLOBALS['wgGroupPermissions']['*']['autocreateaccount'] = true;

// Load Hooks
$GLOBALS['wgHooks']['UserLoginForm'][] = array($this, 'onUserLoginForm', false);
Expand Down

0 comments on commit 700bba8

Please sign in to comment.