[WordPress] 外掛分享: wp-linotp-auth

首頁外掛目錄 › wp-linotp-auth
全新外掛
安裝啟用
尚無評分
4561 天前
最後更新
問題解決
v1.0 上架:2011-07-07

內容簡介

此 WordPress 外掛提供雙因素驗證,可使用 LinOTP 進行驗證。

安裝

安裝 WordPress 外掛,請將 wp-linotp-auth.php 檔案複製到 WordPress 目錄。

./wp-content/plugins

設定

請至少添加您的 LinOTP 伺服器的主機名稱或 IP 地址。
如果您不想驗證 LinOTP 伺服器的 SSL 憑證,請在驗證配置中輸入“0”。

請注意:您需要在 LinOTP 伺服器中擁有相同的使用者。
您可以通過配置 SQL 解析器來實現此目的!

疑難排解

如果您配置錯誤,可能會無法訪問 WordPress。

您可以:

修改 wp_options 表中選項名為“active_plugins”的項目;

或者您可以:

從 wp-linotp-auth.php 中刪除 wp_authenticate 函數;

或者您可以取消註釋此行:

// return new WP_User($username);

但請注意:這將使任何使用任何密碼的使用者都可以訪問!

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「wp-linotp-auth」→ 直接安裝(推薦)

原文外掛簡介

Two factor authentication for wordpress to authenticate against LinOTP.
Installation

For installing the wordpress plugin copy the file wp-linotp-auth.php to the wordpress directory
./wp-content/plugins
Configuration

Please add at least a Hostname or IP address of your LinOTP server.
If you do not want to verify the SSL certificate of the LinOTP server, enter “0” at the verification configuration.
Please note: You need to have the same users in the LinOTP server.
You can achieve this by configuring an SQL Resolver!
Troubleshooting

If you misconfigured the plugin, you can not access your wordpress anymore.
You could either:
adapt the entry in the table wp_options where option_name=”active_plugins”;
or you can:
remove the function wp_authenticate from wp-linotp-auth.php
or you can uncomment this line:
// return new WP_User($username);
But be aware: This gives access to any user with any password!

延伸相關外掛

文章
Filter
Apply Filters
Mastodon