SECURITY: rate-limit and prevent blocked users from changing email
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index f08f5b7..ab1afe2 100644 (file)
@@ -5720,6 +5720,10 @@ $wgRateLimits = [
                'newbie' => [ 5, 86400 ],
                'user' => [ 20, 86400 ],
        ],
+       'changeemail' => [
+               'ip-all' => [ 10, 3600 ],
+               'user' => [ 4, 86400 ]
+       ],
        // Purging pages
        'purge' => [
                'ip' => [ 30, 60 ],