Title: Authentication Code
Author: Mitch
Published: <strong>2016 年 7 月 21 日</strong>
Last modified: 2016 年 11 月 1 日

---

搜索插件

![](https://ps.w.org/authentication-code/assets/banner-772x250.png?rev=1461083)

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

![](https://ps.w.org/authentication-code/assets/icon-256x256.png?rev=1461083)

# Authentication Code

 作者：[Mitch](https://profiles.wordpress.org/lowest/)

[下载](https://downloads.wordpress.org/plugin/authentication-code.zip)

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

 [支持](https://wordpress.org/support/plugin/authentication-code/)

## 描述

_Authentication Code_ is a lightweight plugin which will add an authentication field
to your login form for better security.

No access will be granted when the authentication code is invalid or empty. Leave
the authentication code field blank to disable the feature.

All users will have to know what the authentication code is in order to login to
your website. This plugin is perfect for private companies or solo webmasters.

## 安装

 1. Go to Plugins > Add New.
 2. Search for Authentication Code.
 3. Look for this plugin, download and activate it.
 4. Go to Tools > Authentication Code and enter your desired code.

## 常见问题

  I forgot my authentication code!

Please delete the “authentication-code” folder from your plugins folder and log 
back in via wp-admin. After that, you’re able to reinstall the plugin.

## 评价

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

### 󠀁[Disabling does not work. (Fixed now after update).](https://wordpress.org/support/topic/disabling-does-not-work/)󠁿

 [nick6352683](https://profiles.wordpress.org/nick6352683/) 2016 年 9 月 3 日 1 
回复

This is a very useful plugin, however there is a HUGE problem. THe moment this is
fixed, I will rate it 5 stars immediately… So this is the problem: – You set the
auth. key and everything works fine. – Then you go back to the settings screen, 
and remove the auth key from the field. having an empty field, and save that setting.
The plugin is them disabled, but not entirely, and that’s the problem. What is disable?
In the login screen, the Auth. field is disabled as it should. So there is no way
to enter the Auth. key. What is the problem? When you try to logon now, you get 
an error message that that Auth. key is empty, and entry is denied. How is this 
possible when the plugin should be disabled if you have a blank Auth. key? This 
needs to be fixed please… otherwise this is a must use plugin for me. UPDATE: I 
can confirm the fix, so I’m updating my rating from 4 stars to 5. Thanks.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/authentication-code/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Mitch ](https://profiles.wordpress.org/lowest/)
 *   [ Birgir Erlendsson (birgire) ](https://profiles.wordpress.org/birgire/)

[帮助将「Authentication Code」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/authentication-code)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.2.1

 * Fixed an security vulnerability regarding `target="_blank"` ([read more](https://core.trac.wordpress.org/ticket/36809))
 * Added support for WordPress 4.7
 * Added uninstall.php and removed uninstall scripts from the main file

#### 1.2.0

 * Global update, added new systems

#### 1.0.1

 * Fixes an important user-reported bug.

#### 1.0

 * Initial release.

## 额外信息

 *  版本 **1.2.1**
 *  最后更新：**10 年前**
 *  活跃安装数量 **90+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **4.7.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/authentication-code/)
 * 标签
 * [code](https://cn.wordpress.org/plugins/tags/code/)[pin](https://cn.wordpress.org/plugins/tags/pin/)
 *  [高级视图](https://cn.wordpress.org/plugins/authentication-code/advanced/)

## 评级

 5 星（最高 5 星）。

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

[Your review](https://wordpress.org/support/plugin/authentication-code/reviews/#new-post)

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

## 贡献者

 *   [ Mitch ](https://profiles.wordpress.org/lowest/)
 *   [ Birgir Erlendsson (birgire) ](https://profiles.wordpress.org/birgire/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/authentication-code/)

## 捐助

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

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VYPRGME8QELC)