Title: Prevent Password Reset
Author: Justin Tadlock
Published: <strong>2012 年 1 月 19 日</strong>
Last modified: 2013 年 10 月 6 日

---

搜索插件

![](https://ps.w.org/prevent-password-reset/assets/banner-772x250.png?rev=783378)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/prevent-password-reset_b7ccda.svg)

# Prevent Password Reset

 作者：[Justin Tadlock](https://profiles.wordpress.org/greenshady/)

[下载](https://downloads.wordpress.org/plugin/prevent-password-reset.0.2.0.zip)

 * [详情](https://cn.wordpress.org/plugins/prevent-password-reset/#description)
 * [评价](https://cn.wordpress.org/plugins/prevent-password-reset/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/prevent-password-reset/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/prevent-password-reset/#developers)

 [支持](https://wordpress.org/support/plugin/prevent-password-reset/)

## 描述

Prevents password reset for select users via the WordPress “lost password” form.
This plugin adds a checkbox to each user’s profile in the admin. If selected, it
prevents the user’s password from being reset. If a user selects to prevent their
password from being reset, no one can try to reset the password. It stops it completely.

Things to keep in mind:

 * If you lose your password, you won’t be able to reset it either unless you remove
   the plugin via FTP, go into the database, or have an administrator on the site
   change your password.
 * This plugin does not disable the ability to edit/change a password from the user
   profile page. It merely blocks password resetting from the “lost password” form.

### Professional Support

If you need professional plugin support from me, the plugin author, you can access
the support forums at [Theme Hybrid](http://themehybrid.com/support), which is a
professional WordPress help/support site where I handle support for all my plugins
and themes for a community of 40,000+ users (and growing).

### Plugin Development

If you’re a theme author, plugin author, or just a code hobbyist, you can follow
the development of this plugin on it’s [GitHub repository](https://github.com/justintadlock/prevent-password-reset).

### Donations

Yes, I do accept donations. If you want to buy me a beer or whatever, you can do
so from my [donations page](http://themehybrid.com/donate). I appreciate all donations,
no matter the size. Further development of this plugin is not contingent on donations,
but they are always a nice incentive.

## 屏幕截图

[⌊Disabled password reset⌉⌊Disabled password reset⌉[

Disabled password reset

[⌊Password reset checkbox on user profile page⌉⌊Password reset checkbox on user 
profile page⌉[

Password reset checkbox on user profile page

## 安装

 1. Upload `prevent-password-reset` to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to your user profile in the admin to select whether to prevent password resetting.

## 常见问题

  Why was this plugin created?

I needed a way to disable password resets for specific administrators on my site
but leave this functionality open for the other 1,000s of users. So, I chose to 
make this an option on a per-user basis.

  How do I use it?

Once installed, a checkbox gets added to the “Personal Options” section of each 
user’s profile page in the WordPress admin. Anyone who can edit the user may check
this box to disable password resets for that individual user.

  I forgot my password. What should I do?

The easiest way to do this is to log into your hosting account via FTP. Proceed 
to your plugins directory and delete the `prevent-password-reset` folder. This should
allow you to reset passwords for any user account via the “lost password” form.

If you don’t have this type of access, you need to talk to a site administrator 
who does to have them update your password.

## 评价

![](https://secure.gravatar.com/avatar/8d0b7f3d4c42e1c3fca673982f16b3c6800938d1ca0f8fae0eedb361ba058af7?
s=60&d=retro&r=g)

### 󠀁[Perfect plugin for the job](https://wordpress.org/support/topic/perfect-plugin-for-the-job-5/)󠁿

 [teneighty](https://profiles.wordpress.org/teneighty/) 2022 年 2 月 17 日

There are tutorials to disable password reset for the entire site by modifying php
code. Not only is a plugin a much better, more elegant solution, but a very desirable
feature of this plugin is a checkbox to enable/disable password reset for each individual
user so you can retain the valuable password recovery feature for some accounts.
Thank you for your valuable contribution to Word Press!

![](https://secure.gravatar.com/avatar/8b64651ced85ad5341dbb878dd928a8ec0ae54bd25e43f6c869f1872a86cb8c8?
s=60&d=retro&r=g)

### 󠀁[Neat, works great!](https://wordpress.org/support/topic/neat-works-great-2/)󠁿

 [leanderbraunschweig](https://profiles.wordpress.org/leanderbraunschweig/) 2020
年 9 月 28 日

Does what it says, lean & clean, working fine with WP v5.5.1 – thanks!!

![](https://secure.gravatar.com/avatar/eea8e8b36980f791f34dc4ec92fbab8311a1010ec35e89bf63695f91785a4b6c?
s=60&d=retro&r=g)

### 󠀁[Great plugin and still working](https://wordpress.org/support/topic/great-plugin-and-still-working/)󠁿

 [Damiaan van Vliet](https://profiles.wordpress.org/damnsharp/) 2017 年 9 月 28 
日

I use it on a multi-site with WP 4.8.2 and it works very good.

![](https://secure.gravatar.com/avatar/13be7dab6802e4291ff184f91b5d44630cfa51e99b948532a2b788b3cc40b14c?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-676/)󠁿

 [Linmp](https://profiles.wordpress.org/linmp/) 2016 年 9 月 19 日

I’ve been using this for some years and works great! The main advantage is that 
it is a per user setting… many users don’t want someone to be able to reset the 
password of the account, and with this it really isn’t possible.

 [ 阅读所有6条评价 ](https://wordpress.org/support/plugin/prevent-password-reset/reviews/)

## 贡献者及开发者

「Prevent Password Reset」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Justin Tadlock ](https://profiles.wordpress.org/greenshady/)

[帮助将「Prevent Password Reset」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/prevent-password-reset)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/prevent-password-reset/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/prevent-password-reset/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/prevent-password-reset/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/prevent-password-reset/)。

## 更新日志

### Version 0.2.0

 * Changed license from GPL v2-only to GPL v2+.
 * Added plugin row meta for the plugin.
 * Dropped the MO and PO files in favor of a POT file for translators.
 * Added a `readme.md` file since this plugin is now on GitHub.
 * Updated this `readme.txt` file.
 * Updated this plugin for the mere purpose of updating. WordPress.org has created
   a stigma around plugins that don’t get updates every so often by putting a big
   warning box at the top of the plugin’s page. Basically, it’s telling users to
   beware! Of course, this is just ridiculous, particularly when talking about a
   plugin that most likely will never need an update (like this one). Some plugins
   are simply “set and forget” forever. But, because of how WordPress.org treats
   these types of plugins, lumping them into a “bad plugin” pool with plugins that
   actually do need updates, I’m forced to create a rather useless update to this
   plugin. Update if you wish; it’s not actually necessary. It’s just necessary 
   for me to update the plugin in order for it to not be de-listed from the WordPress.
   org search results. Good day.

### Version 0.1.0

 * Plugin launch. Everything’s new!

## 额外信息

 *  版本 **0.2.0**
 *  最后更新：**13 年前**
 *  活跃安装数量 **300+**
 *  WordPress 版本 ** 3.3 或更高版本 **
 *  已测试的最高版本为 **3.7.41**
 *  语言
 * [English (US)](https://wordpress.org/plugins/prevent-password-reset/)
 * 标签
 * [admin](https://cn.wordpress.org/plugins/tags/admin/)[password](https://cn.wordpress.org/plugins/tags/password/)
 *  [高级视图](https://cn.wordpress.org/plugins/prevent-password-reset/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  6 条 5 星评价     ](https://wordpress.org/support/plugin/prevent-password-reset/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/prevent-password-reset/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/prevent-password-reset/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/prevent-password-reset/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/prevent-password-reset/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/prevent-password-reset/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/prevent-password-reset/reviews/)

## 贡献者

 *   [ Justin Tadlock ](https://profiles.wordpress.org/greenshady/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/prevent-password-reset/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://themehybrid.com/donate)