Manual:$wgPasswordAttemptThrottle

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil • ‎русский
Access: $wgPasswordAttemptThrottle
Limit password attempts per IP per address.
Introduced in version: 1.14.0 (r38886)(git #6fcfa981)
Removed in version: still in use
Allowed values: (array)
Default value: [ [ 'count' => 5, 'seconds' => 300 ], [ 'count' => 150, 'seconds' => 60*60*48 ], ] (MediaWiki 1.27+)
array( 'count' => 5, 'seconds' => 300 ) (MediaWiki 1.26 and before)
Other settings: Alphabetical | By function

Details[edit]

Limit password attempts to count attempts per seconds per IP per username.

$wgMainCacheType must be set to something other than CACHE_NONE for this setting to work.

To disable, put the following in LocalSettings.php:

$wgPasswordAttemptThrottle = false;


MediaWiki version: 1.27

Multiple thresholds can be added. They will all be tested separately.