# Show password (optional)

**URL:** <https://meta.discourse.org/t/show-password-optional/74414>\
**Category:** UX\
**Created:** [2017 年11 月 20 日 10:07 UTC](https://meta.discourse.org/t/show-password-optional/74414 "2017-11-20T10:07:57Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

作者： ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
发布日期： [2022 年12 月 7 日 19:33 UTC](https://meta.discourse.org/t/show-password-optional/74414/19 "2022-12-07T19:33:05Z")

</div>

这仍然应该由浏览器实现，但由于浏览器方面的进展甚微，我已开始着手在 Discourse 中添加此功能：

> <https://github.com/discourse/discourse/pull/19306>
>
> Adds a show/hide toggle to password fields to login, create an account, reset pa…ssword, and the invite acceptance page. 
> 
> Intentionally didn't use a button in the input (often an eye/slash) because it's often obscured by password managers. 
> 
> 
> !\[Screenshot 2022-12-05 at 12 33 28 PM\](https://user-images.githubusercontent.com/1681963/205723640-809f2f34-6670-4b1f-85d7-60f6f5c60b27.png)
> !\[Screenshot 2022-12-05 at 12 33 44 PM\](https://user-images.githubusercontent.com/1681963/205723643-1eb0469a-8c7d-428e-870a-c89f5972cb4f.png)
> !\[Screenshot 2022-12-05 at 12 34 06 PM\](https://user-images.githubusercontent.com/1681963/205723644-3558a232-5421-4451-b9e7-171d5cecb4fd.png)

---

_[View the full topic](https://meta.discourse.org/t/show-password-optional/74414)._
