Difference between revisions of "LoginByEmail"

From Wiki4Intranet
Jump to: navigation, search
(Created page with "{{Extension4info |name=LoginByEmail |mediawiki=1.18-1.21 |license=GNU GPL 3.0+ |description en=Allows to login using their email instead of account name. |description ru=Ра...")
 
 
Line 6: Line 6:
 
|description ru=Разрешает авторизоваться по e-mail адресу, а не только по имени пользователя.
 
|description ru=Разрешает авторизоваться по e-mail адресу, а не только по имени пользователя.
 
|created=2013-12-03
 
|created=2013-12-03
 +
|included=2013-12-03
 
|status=our
 
|status=our
 
|useful=maybe
 
|useful=maybe
 +
|disabled=1
 
}}
 
}}
 
{{ExtensionFromInfo|lang=en|name=LoginByEmail}}
 
{{ExtensionFromInfo|lang=en|name=LoginByEmail}}

Latest revision as of 16:23, 4 December 2013

LoginByEmail is a MediaWiki extension.

Status for Mediawiki4Intranet distribution:

  • Inclusion date: 2013-12-03* Disabled in the default configuration
  • Included version: newest available
  • Improvement status: Created by MediaWiki4Intranet project

Usage

Just install. The extension will modify the standard MediaWiki login form allowing to use email in the "username:" field.

Installation

  • Apply the patch to MediaWiki code:
    cd <YOUR_WIKI_DIRECTORY>
    patch -p1 < extensions/LoginByEmail/LoginByEmail.diff
  • Include extension into your LocalSettings.php - add the line:
    require_once("$IP/extensions/LoginByEmail/LoginByEmail.php");
  • Optionally you can allow "wrong password" errors for email login with:
    $wgLoginByEmailDiscloseExistence = true;
    Please note it's a less secure behaviour because it allows to check if an arbitrary email is registered in your wiki.