跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

Password Reset Enforcement

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

Password Reset Enforcement

由 Teydea Studio 開發
下載
即時預覽
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

Enhance your WordPress website’s security by forcing users to reset their passwords.

Password Reset Enforcement is a simple yet powerful security plugin that allows site administrators to require users to update their passwords—ideal after a potential data breach, routine security checks, or during onboarding/offboarding processes.

Features

  • Force password reset for all users, specific user roles, or individual users.
  • Optional email notification to users with a direct reset link.
  • Flexible login behavior:
    • Allow login before resetting: users log in with the old password, are immediately prompted to set a new one.
    • Block login until reset: users must reset their password before accessing the dashboard.
  • Choose reset timing:
    • Immediately: forces logout and password reset on next login.
    • After session expiry: users are asked to reset after their current session ends.
  • WP-CLI support for command-line password management and automation.
  • Multisite compatible (network-wide reset only).
  • Optimized for performance on large-scale and enterprise WordPress installations.

Use Cases

  • Responding to a security breach or suspected compromise.
  • Enforcing routine password changes in corporate environments.
  • Applying onboarding/offboarding security policies for teams or membership sites.

Compatibility

  • Works on both single-site and multisite (network) WordPress setups.
  • Supports PHP 7.4+ and WordPress 6.6 through 6.8.
  • Compatible with modern WordPress admin experience.

WP-CLI Commands

This plugin provides WP-CLI commands for automated password reset management:

Force Password Reset
wp password-reset-enforcement force [–to_all] [–to_roles=] [–to_users=] [–applicability=] [–with_email] [–with_current_password_allowed] [–limit=] [–paged=]

Clear Password Reset Enforcement
wp password-reset-enforcement clear [–to_all] [–to_roles=] [–to_users=] [–limit=] [–paged=]

List Users with Enforced Password Reset
wp password-reset-enforcement list [–limit=] [–paged=]

Check Password Reset Status
wp password-reset-enforcement status [–to_all] [–to_roles=] [–to_users=] [–limit=] [–paged=]

Command Options

  • --to_all: Target all users on the site
  • --to_roles=<roles>: Comma-separated list of user roles (e.g., editor,administrator)
  • --to_users=<user_ids>: Comma-separated list of specific user IDs (e.g., 1,5,10)
  • --applicability=<when>: When reset takes effect (immediately, after_session_expiry)
  • --with_email: Send email notifications to affected users (default: true)
  • --with_current_password_allowed: Allow users to reuse current password (default: false)
  • --limit=<number>: Maximum users to process in single operation
  • --paged=<page>: Page number for pagination

Command Examples

wp password-reset-enforcement force --to_all
wp password-reset-enforcement force --to_roles=editor,administrator --applicability=after_session_expiry
wp password-reset-enforcement clear --to_users=1,5,10
wp password-reset-enforcement list --limit=50 --paged=2
wp password-reset-enforcement status --to_all --limit=50 --paged=2<h3>Related Plugins</h3>

Want to go beyond forced password resets? Check our WP Password Policy plugin to enforce strong password rules, block weak passwords, and set automatic expiry policies — so you’ll never need to force a password reset again. [https://wordpress.org/plugins/password-requirements/](Free version available on WordPress.org).

螢幕擷圖

  • Force password reset for all users.
  • Target users by role, username, or display name.
  • Process the action.

安裝方式

  1. Upload the plugin to the /wp-content/plugins/ directory or install via the WordPress admin panel.
  2. Activate the plugin.
  3. Go to Settings → Password Reset Enforcement to initiate resets.

常見問題集

Will this log users out immediately?

Only if you choose the “Immediately” option. Otherwise, users will be asked to reset after their current session expires.

Is it compatible with other login plugins or 2FA solutions?

Yes, Password Reset Enforcement is designed for compatibility and works well alongside popular authentication and security plugins.

Can I use this on a WooCommerce site?

Absolutely. Works seamlessly with WooCommerce and other membership or eCommerce platforms.

Does this plugin support WP-CLI?

Yes! The plugin includes comprehensive WP-CLI commands for forcing password resets, clearing enforcement, and checking status. Perfect for automation, server management, and bulk operations.

使用者評論

Very useful for forcing the reset of passwords for multiple administrators

delemo 2025 年 6 月 24 日 1 則留言
After suspecting a malicious attempt on my website, I needed to force several administrators to reset their passwords. This plugin made my job much easier.

Some quality of life needed

Miikka 2024 年 10 月 22 日 1 則留言
Would like that the user list auto-completes or searches the users. Pressing enter on the settings page turned to page gray without any indication what may have happened. Allow a save button to save settings before executing action.
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Password Reset Enforcement〉的開發相關工作。

參與者
  • Teydea Studio
  • Bartosz Gadomski

〈Password Reset Enforcement〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Password Reset Enforcement〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.11.1 (2025-11-28)

  • Compatibility with WordPress 6.9 confirmed
  • Dependencies updated

1.11.0 (2025-10-31)

  • Direct links to force password reset has been added to the Users page along with bulk action
  • Clear indicators that a password reset has been enforced for a given user has been added to the Users and User Profile screens
  • User selector component has been improved
  • WP-CLI commands have been added, allowing power users to force password reset, clear the enforcement, check the status, and list users for whom the password reset has been enforced
  • Dependencies updated
  • Code improvements

1.10.2 (2025-05-08)

  • Plugin links and references to Teydea Studio updated
  • Dependencies updated

1.10.1 (2025-04-04)

  • Compatibility with WordPress 6.8 confirmed
  • Issue of requesting the translated string too early fixed
  • Dependencies updated
  • Code improvements

1.10.0 (2025-02-21)

  • Dependencies updated
  • Code improvements

1.9.0 (2024-12-13)

  • Dependencies updated
  • Code improvements

1.8.0 (2024-11-08)

  • Custom capabilities for managing the plugin settings implemented
  • Compatibility with WordPress 6.7 confirmed
  • Dependencies updated
  • Code improvements

1.7.2 (2024-10-25)

  • JS dependency map and tree-shaking optimized

1.7.1 (2024-10-23)

  • Add missing Cache utility class

1.7.0 (2024-10-17)

  • Language mapping file added for easier generation of JSON translation files
  • Language files updated for Polish translation
  • Add caching to user roles getter function, along with proper cache invalidation, to improve the plugin’s performance
  • Dependencies updated
  • Code improvements

(For older records, see the changelog.txt file).

中繼資料

  • 版本 1.11.1
  • 最後更新 3 個月前
  • 啟用安裝數 100+
  • WordPress 版本需求 6.6 或更新版本
  • 已測試相容的 WordPress 版本 6.9.1
  • PHP 版本需求 7.4 或更新版本
  • 語言

    English (US) 及 Polish.

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

  • 標籤
    force password changereset passwordsecure loginwordpress security
  • 進階檢視

評分

4 星,滿分為 5 星
  • 1 5-star review 5 星 1
  • 0 4-star reviews 4 星 0
  • 1 3-star review 3 星 1
  • 0 2-star reviews 2 星 0
  • 0 1-star reviews 1 星 0

新增使用者評論

查看全部使用者評論

參與者

  • Teydea Studio
  • Bartosz Gadomski

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • Visit our Bluesky account
  • 造訪我們的 Mastodon 帳號
  • Visit our Threads account
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
程式碼,如詩
The WordPress® trademark is the intellectual property of the WordPress Foundation. WordPress® is not the same thing as WP Engine®. Since October 2024, WordPress.org’s creator Matt Mullenweg is a defendant in a legal action from WP Engine®. The WordPress Hosting page does not recommend WP Engine®.