From ef14cd41c3fc6264aff38af9720786bc52c4d796 Mon Sep 17 00:00:00 2001 From: MusikAnimal Date: Mon, 19 Feb 2024 21:23:27 -0500 Subject: PasswordReset: remove $wgAllowRequiringEmailForResets feature flag Update a few tests that relied on the feature flag to ignore the 'requireemail' preference on "User1" to instead use "User2", who doesn't have the preference set. Bug: T242406 Change-Id: I996d3996272d704a071d1d2094c3568247b80f98 --- includes/MainConfigSchema.php | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'includes/MainConfigSchema.php') diff --git a/includes/MainConfigSchema.php b/includes/MainConfigSchema.php index eded970dcf4a..1a2cd6f4f550 100644 --- a/includes/MainConfigSchema.php +++ b/includes/MainConfigSchema.php @@ -7618,16 +7618,6 @@ class MainConfigSchema { ], ]; - /** - * Whether users will see a checkbox allowing them to require providing email during password resets. - * - * @unstable EXPERIMENTAL This feature is under development, don't assume this flag's existence - * or function outside of Wikimedia Foundation wikis. - */ - public const AllowRequiringEmailForResets = [ - 'default' => false, - ]; - /** * Configuration for automatic creation of temporary accounts on page save. * This can be enabled to avoid exposing the IP addresses of casual editors who -- cgit v1.2.3