Skip to content

Commit bcdc715

Browse files
committed
fix: promote user group emailconfirmed
1 parent 1c2be56 commit bcdc715

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

dist-persist/wbstack/src/Settings/LocalSettings.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@
291291
$wgGroupPermissions['user']['editmyuserjs'] = false;
292292

293293
# Allow emailconfirmed to skip captcha
294+
$wgAutopromote['emailconfirmed'] = APCOND_EMAILCONFIRMED;
294295
$wgGroupPermissions['emailconfirmed']['skipcaptcha'] = true;
295-
$wgAllowConfirmedEmail = true;
296296

297297
# Oauth
298298
$wgGroupPermissions['sysop']['mwoauthproposeconsumer'] = true;
@@ -462,7 +462,6 @@ function onSkinTemplateNavigationUniversal( SkinTemplate $skin, array &$links )
462462
$wgReCaptchaSendRemoteIP = true;
463463
$wgReCaptchaSiteKey = getenv('MW_RECAPTCHA_SITEKEY');
464464
$wgReCaptchaSecretKey = getenv('MW_RECAPTCHA_SECRETKEY');
465-
$ceAllowConfirmedEmail = true;
466465

467466
# Mailgun
468467
if ($wwUseMailgunExtension) {

dist/wbstack/src/Settings/LocalSettings.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@
291291
$wgGroupPermissions['user']['editmyuserjs'] = false;
292292

293293
# Allow emailconfirmed to skip captcha
294+
$wgAutopromote['emailconfirmed'] = APCOND_EMAILCONFIRMED;
294295
$wgGroupPermissions['emailconfirmed']['skipcaptcha'] = true;
295-
$wgAllowConfirmedEmail = true;
296296

297297
# Oauth
298298
$wgGroupPermissions['sysop']['mwoauthproposeconsumer'] = true;
@@ -462,7 +462,6 @@ function onSkinTemplateNavigationUniversal( SkinTemplate $skin, array &$links )
462462
$wgReCaptchaSendRemoteIP = true;
463463
$wgReCaptchaSiteKey = getenv('MW_RECAPTCHA_SITEKEY');
464464
$wgReCaptchaSecretKey = getenv('MW_RECAPTCHA_SECRETKEY');
465-
$ceAllowConfirmedEmail = true;
466465

467466
# Mailgun
468467
if ($wwUseMailgunExtension) {

0 commit comments

Comments
 (0)