Open main menu

Extension:IPAuth

MediaWiki extensions manual
OOjs UI icon advanced.svg
IPAuth
Release status: beta
Implementation User identity
Description Automatic login from fixed IPs
Author(s) Duesentrieb for Wikimedia Deutschland
MediaWiki 1.15 (may work for earlier versions too)
License BSD 3-clause "Modified" License
Download Template:WikimediaDownload/svn
log
Example $wgIPAuthUsers = array( "127.0.0.1" => "Admin" );
$wgIPAuthUsers
Translate the IPAuth extension if it is available at translatewiki.net
Check usage and version matrix.

IPAuth allows clients accessing from specific IP addresses to be authenticated automatically.

ConfigurationEdit

$wgIPAuthUsers
an associative array, mapping IP addresses to usernames.
The usernames given here must refer to existing users. You have to create them before using them here!

ExampleEdit

require_once( "$IP/extensions/IPAuth/IPAuth.php" );
#Automatically authenticate clients accessing from localhost as user Admin.
$wgIPAuthUsers = array( "127.0.0.1" => "Admin" );

See alsoEdit