如何允许用户在WordPress登录屏幕上隐藏/显示密码

Have you seen the eye icon on the password field of many popular websites and apps? Clicking on this icon reveals the password you are typing which is great if you are on a mobile device or unfamiliar with the typing interface you are using. In this article, we will show you how to allow users to hide/show passwords on WordPress login screen.

您是否在许多流行的网站和应用的密码字段中看到了眼睛图标? 单击此图标将显示您正在输入的密码,如果您在移动设备上或不熟悉所使用的输入界面,则该密码非常有用。 在本文中,我们将向您展示如何允许用户在WordPress登录屏幕上隐藏/显示密码。

Show or Hide Password on WordPress Login Screen

Password masking (those bullets that appear when you type a password) became a normal practice in user interface design for computer screens. The reason for that was to prevent other people from looking into your screen and memorizing your password. However, recently many user experience designers have started arguing that password masking is unnecessary and should be stopped. One of the reasons which make people feel that is the increased usage of mobile devices and tablet PCs. People who are in favor of password masking argue that users may still need to enter password on a non-private screen, like in offices, screen projectors, or in crowded public spaces.

密码遮罩(键入密码时出现的项目符号)已成为计算机屏幕用户界面设计中的常规做法。 这样做的原因是为了防止其他人查看您的屏幕并记住您的密码。 但是,最近,许多用户体验设计师开始争论密码屏蔽是不必要的,应该停止。 使人们感到这种感觉的原因之一是对移动设备和平板电脑使用的增加。 支持密码屏蔽的人认为,用户可能仍需要在非私有屏幕上输入密码,例如在办公室,屏幕投影仪或拥挤的公共场所。

The simple answer to this debate is to provide users with an option to decide whether they would like to hide or unmask their passwords as they type. To provide this functionality in your WordPress powered website, the first thing you need to do is install and activate the hideShowPassword plugin. This plugin works out of the box, and there are no settings for you to configure. Simply logout of WordPress admin area and see it in action on your WordPress login screen.

对此辩论的简单答案是为用户提供一个选项,让他们决定在键入时是否要隐藏或隐藏密码。 为了在您的WordPress网站上提供此功能,您需要做的第一件事就是安装并激活hideShowPassword插件。 该插件可以直接使用,没有可供您配置的设置。 只需注销WordPress管理区域,然后在WordPress登录屏幕上查看它的运行情况。

While password unmasking can improve user experience, we still strongly recommend our users to use strong passwords. If you are running a multi user WordPress site, then you can force strong passwords on other users as well.

尽管密码隐藏功能可以改善用户体验,但我们仍然强烈建议用户使用强密码。 如果您运行的是多用户WordPress网站,则也可以对其他用户强制使用强密码

We hope this article helped you learn how to add hide/show passwords icon in WordPress login screen. Do you think password unmasking is irrelevant and unneccesary? Let us know by leaving a comment below.

我们希望本文能帮助您学习如何在WordPress登录屏幕中添加隐藏/显示密码图标。 您认为揭露密码无关紧要吗? 让我们在下面留下评论。

翻译自: https://www.wpbeginner.com/plugins/how-to-allow-users-to-hideshow-passwords-on-wordpress-login-screen/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值