• 關於 WordPress
    • 關於 WordPress
    • WordPress.org 台灣繁體中文
    • 線上說明
    • 技術支援
    • 意見反應
  • 登入
  • 註冊
跳至主要內容

WordPress.org

Taiwan 正體中文

  • 首頁
  • Themes
  • Plugins
  • 部落格
  • 論壇
  • 關於
  • 團隊
  • 取得 WordPress

外掛目錄

  • 我的最愛
  • Beta 版測試
  • 開發者資訊
下載

WP-OTP

由 Armando Lüscher 開發
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 技術支援
  • 開發資訊

外掛說明

With WP-OTP you can easily set up 2 Factor Authentication with One Time Passwords for your WordPress login.
This extra layer makes your WordPress site a lot more secure.

The new stealth mode allows for invisible OTP code entry, making your login screen look like any other, no extra OTP code input field.

Getting started

After installing and activating the plugin, every user can enable WP-OTP on their profile page.

It’s as easy as scanning the provided QR Code or entering the OTP secret to any OTP generator app.
Then just activate it by entering the generated OTP and voilà, all set up.
Now, the login requires an OTP code to succeed.

Each user gets their own secret key to authenticate with, giving them control over their login security.

Development

This plugin is completely open source and a work of passion.
If you would like to be part of it and join in, make your way over to the project page now.
Also, if you have an idea you would like to see in this plugin or if you’ve found a bug, please let me know.

Configuration

  • WP_OTP_STEALTH: Set this to true to enable stealth OTP mode.

Filters

There are a multitude of filters to be adjusted.

  • wp_otp_qr_code_provisioning_uri: URI for online QR Code rendering (must contain {PROVISIONING_URI} placeholder for QR Code data).
  • wp_otp_login_form_text: Text for input field on the login screen.
  • wp_otp_login_form_text_sub: Subtext for the input field on the login screen.
  • wp_otp_login_form_invalid_code_text: Error text for an invalid code input on the login screen.
  • wp_otp_code_expiration_window: Set the window of code verification expiration.
  • wp_otp_recovery_codes_count: Number of recovery codes to generate.
  • wp_otp_recovery_codes_length: Length of the recovery codes.
  • wp_otp_secret_length: Length of the secret key.

Minimum requirements

WordPress 4.6, PHP 7.2.

Donate / Support

All donations are much appreciated, thank you 🙏

Get professional support for this plugin with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies assurances about security, maintenance, and licensing for their dependencies.

Security

To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.

安裝方式

You can either use the built in WordPress installer or install the plugin manually.

For an automated installation:

  1. Go to ‘Plugins -> Add New’ on your WordPress Admin page.
  2. Search for the ‘WP OTP’ plugin.
  3. Install by clicking the ‘Install Now’ button.
  4. Activate the plugin on the ‘Plugins’ page in your WordPress Admin.

For a manual installation:

  1. Upload the ‘wp-otp’ folder to the plugins directory of your WordPress installation.
  2. Activate the plugin on the ‘Plugins’ page in your WordPress Admin.

常見問題集

What if I lose my OTP authenticator?

No problem! When activating WP-OTP, you will also get a list of recovery codes that you can use instead of entering the OTP from your authenticator app.
Be sure to regenerate them when you run out though, or better yet, reconfigure your WP-OTP to get a new secret and a new set of recovery codes.

Can I reset my OTP secret key?

Yes, just click the Reconfigure button on the profile page.

Why is there no OTP input field on the login form?

Your site admin has either disabled the plugin or enabled stealth mode.
This means that you will need to add your OTP (or recovery) code at the end of your password.

使用者評論

Very good plugin and nice support

datnv9 2020 年 12 月 4 日
Thank you for this nice plugin. Stealth mode is perfect!

The link you followed has expired.Please try again.

ramineros 2020 年 8 月 1 日
The link you followed has expired.Please try again. i did everything to fix this problem but could not do.. when i want to activate this plugin it gives this error.. i use dedicated server.. and i can install any other plugins easely

Nice Work good plugin

mydeenferozkhan 2019 年 11 月 20 日
In this Update 0.4.0 there is an error while trying to login. it shows critical error. IT works for the user which i logged in and update the plugins. It throws error other users while logging. please fix it and update the plugin. When seeking help with this issue, you may be asked for some of the following information: WordPress version 5.3 Current theme: Nex Child (version ) Current plugin: WP-OTP (version 0.4.0) PHP version 7.2.15 Error Details ============= An error of type E_ERROR was caused in line 180 of the file /var/www/wp-content/plugins/wp-otp/public/class-wp-otp-public.php. Error message: Uncaught TypeError: Return value of Wp_Otp\Wp_Otp_Public::get_otp_if_enabled() must be an instance of OTPHP\TOTP, null returned in /var/www/wp-content/plugins/wp-otp/public/class-wp-otp-public.php:180 Stack trace: If you need more details i will share the error mail igot.

Profilseite funktioniert seit 0.2 nicht mehr…

Michael 2018 年 12 月 10 日
… und damit lässt sich das Plugin nicht mehr konfigurieren. Keine Reaktion vom Autor. Update vom 10.12.18: Weil es jetzt wieder funktioniert auf 5 Sterne aktualisert. Funktioniert sehr zuverlässig.

What can I say? It Works.

danthefan 2018 年 7 月 24 日
What can I say? It Works.

Thanks man for the plugin 🙂

Nick12123 2017 年 1 月 15 日
Easy to install and starts the magic in no time
閱讀全部 6 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP-OTP〉的開發相關工作。

參與者
  • noplanman

WP-OTP 外掛目前已有 5 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將 WP-OTP 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

0.5.1

  • Fix activation and deactivation hooks.

0.5.0

  • Require at least PHP 7.2.
  • Update OTPHP to 10.0.
  • Add native QR code rendering.
  • Harden security by adhering to WordPress Code Sniffer.

0.4.1

  • Fix nullable return type when checking if OTP is enabled.

0.4.0

  • Drop all custom i18n and rely on translate.wordpress.org.
  • Minimum requirements are now WP 4.6 and PHP 7.1.
  • Update OTPHP to 9.1.
  • Tested for WP 5.3.

0.3.0

  • Update list of OTP mobile apps.
  • Add stealth mode (via WP_OTP_STEALTH), passing OTP code concatenated to password.
  • Add donation, support and security sections to readme.

0.2.1

  • Add GitLab CI for PHP Code Sniffer.
  • Fix changed Base32 namespace.

0.2.0

  • Tested for WP 5.0.
  • Update OTPHP to 8.3.3.
  • Moved project to Feneas GitLab (git.feneas.org)

0.1.4

  • Tested for WP 4.8.
  • Update OTPHP to 8.3.0.

0.1.3

  • Make OTP code input a normal text field, to allow input verification.

0.1.2

  • Add proper localisation.

0.1.1

  • Longer secret by default.
  • Replace/override packages not compatible with WordPress.

0.1.0

  • First version!

中繼資料

  • 最新版本: 0.5.1
  • 最後更新: 7 個月前
  • 啟用安裝數: 200+
  • WordPress 版本需求: 4.6 或更新版本
  • 已測試相容的 WordPress 版本: 5.4.4
  • PHP 版本需求: 7.2 或更新版本
  • 語言:

    Basque、English (US)、German、Japanese、Spanish (Argentina)、及 Swedish.

    將這個外掛本地化為你的母語版本

  • 標籤:
    2FAloginotptotptwo factor
  • 進階檢視

評分

檢視全部
  • 5 星 4
  • 4 星 1
  • 3 星 0
  • 2 星 0
  • 1 星 1
Log in to submit a review.

參與者

  • noplanman

技術支援

最近 2 個月解決的問題:

總計 1 個問題,已解決 0 個

檢視技術支援論壇

贊助

想要支援這個外掛的發展嗎?

贊助這個外掛

  • 關於
  • 官方部落格
  • 主機託管
  • 贊助
  • 技術支援
  • 開發者資訊
  • 參與專案
  • Learn
  • 展示網站
  • 外掛目錄
  • 佈景主題目錄
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • 隱私權
  • Public Code
  • @WordPress
  • WordPress

程式碼,如詩