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