Jump to content

擴展:EmailAuth

From mediawiki.org
This page is a translated version of the page Extension:EmailAuth and the translation is 44% complete.
本頁面的主題不是Extension:Email Authorization
MediaWiki擴充功能手冊
EmailAuth
發行狀態: 穩定版
實現 用戶識別
描述 通過電子郵件的雙因素驗證
作者 Tgr留言
最新版本 0.1.0
相容性政策 快照跟隨MediaWiki發布。 master分支不向後相容。
MediaWiki 1.27+
  • $wgEmailAuthAccountRecoveryNotificationSender
  • $wgEmailAuthAccountRecoveryTokenExpiry
  • $wgEmailAuthZendeskUrl
  • $wgEmailAuthEnableAccountRecovery
  • $wgEmailAuthZendeskToken
  • $wgEmailAuthZendeskTags
  • $wgEmailAuthZendeskCustomFields
  • $wgEmailAuthZendeskHTTPProxy
  • $wgEmailAuthZendeskTicketFormId
  • $wgEmailAuthZendeskEmail
  • $wgEmailAuthUnmaskedDomains
  • $wgEmailAuthZendeskSubjectLine
授權 GNU General Public License 2.0 or later
下載
前往translatewiki.net翻譯EmailAuth擴充功能
Vagrant角色 emailauth
問題 開啟的任務 · 回報錯誤

擴展允許通過電子郵件進行雙因素身份驗證。 雖然這不如其他雙因素方法(例如擴充功能:OATHAuth )安全,但其不需要由用戶設置,其只需要電子郵件地址。 This makes it useful for stopping password guessing attacks or securing suspicious logins.

EmailAuthRequireToken 掛鈎用於決定何時需要第二個因子。 如果沒有為該鈎子添加處理程序,例如在站點配置中,則擴展將不會執行任何操作。

安裝

  • 下載檔案,並解壓EmailAuth資料夾到extensions/目錄中。
    開發者和代碼貢獻人員應改從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 完成 – 請導覽至您的wiki上的Special:Version,以驗證此擴充功能已成功安裝。

Configuration variables

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

參閱