Wiki - Account Self-Creation
Revision as of 14:01, 4 January 2022 by Tinker (talk | contribs) (→Enabling the "Create Account" link for non logged-in users.)
When you run a public-facing Wiki, it's kinda handy to let users create their own accounts.
But...
You need to control what they can do.
Enabling the "Create Account" link for non logged-in users.
sudo vi LocalSettings.php
:
Set:
$wgGroupPermissions['*']['createaccount'] = true;
Enforcing email authentication
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['user']['edit'] = false;
$wgAutopromote['emailconfirmed'] = APCOND_EMAILCONFIRMED;
$wgGroupPermissions['emailconfirmed']['edit'] = true;