Jump to content

Extension:EmailAuth

From mediawiki.org
This page is a translated version of the page Extension:EmailAuth and the translation is 11% complete.
混同しないでください: Extension:Email Authorization.
MediaWiki 拡張機能マニュアル
EmailAuth
リリースの状態: 安定
実装 利用者識別
説明 メールによる二要素認証
作者 Tgrトーク
最新バージョン 0.1.0
互換性の方針 MediaWiki とともにリリースされるスナップショット。 master には後方互換性がありません。
MediaWiki 1.27+
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード
  • $wgEmailAuthUnmaskedDomains
translatewiki.net で翻訳を利用できる場合は、EmailAuth 拡張機能の翻訳にご協力ください
Vagrant role emailauth
問題点 未解決のタスク · バグを報告

The EmailAuth extension allows secondary authentication via email. While this is less secure than other two-factor methods such as Extension:OATHAuth , it does not have to be set up by the user, it only requires an email address. This makes it useful for stopping password guessing attacks or securing suspicious logins.

The EmailAuthRequireToken hook is used to decide when the second factor is required. Without adding a handler for that hook e.g. in site configuration, the extension will not do anything.

Installation


  • ダウンロードして、ファイルをextensions/フォルダー内のEmailAuthという名前のディレクトリ内に配置します。
    開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/EmailAuth
    
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    wfLoadExtension( 'EmailAuth' );
    
  • Add a hook handler for the EmailAuthRequireToken hook.
  • Yes 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

Configuration variables

$wgEmailAuthUnmaskedDomains
Email domains that are not masked during their display in EmailAuth UI components. (All other domains will be replaced with ***.***.) Defaults to gmail.com, googlemail.com, hotmail.com, yahoo.com. MW 1.45+

See also